flutter_qiblah 3.0.3 flutter_qiblah: ^3.0.3 copied to clipboard
Flutter Qiblah is a package that allows you to display Qiblah direction in you app with support for both Android and iOS
We analyzed this package 8 days ago, and awarded it 130 pub points (of a possible 140):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
8 out of 14 API elements (57.1 %) have documentation comments.
Some symbols that are missing documentation: flutter_qiblah
, flutter_qiblah.LocationStatus.enabled
, flutter_qiblah.LocationStatus.status
, flutter_qiblah.QiblahDirection.direction
, flutter_qiblah.QiblahDirection.offset
.
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
- ✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:flutter_qiblah/flutter_qiblah.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:flutter_qiblah/flutter_qiblah.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:flutter_qiblah/flutter_qiblah.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:flutter_qiblah/flutter_qiblah.dart
that declares support for platforms:Android
,iOS
.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:flutter_qiblah/flutter_qiblah.dart
that imports:package:flutter_qiblah/src/flutter_qiblah.dart
that imports:package:geolocator/geolocator.dart
that imports:package:geolocator_apple/geolocator_apple.dart
that declares support for platforms:iOS
,macOS
.
Package does not support platform `iOS`.
Because:
package:flutter_qiblah/flutter_qiblah.dart
that imports:package:flutter_qiblah/src/flutter_qiblah.dart
that imports:package:geolocator/geolocator.dart
that imports:package:geolocator_android/geolocator_android.dart
that declares support for platforms:Android
.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Statements in an if should be enclosed in a block.
lib/src/flutter_qiblah.dart:29:7
╷
29 │ return await _channel.invokeMethod("androidSupportSensor");
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/flutter_qiblah.dart
INFO: Statements in an if should be enclosed in a block.
lib/src/flutter_qiblah.dart:31:7
╷
31 │ return true;
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/flutter_qiblah.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_compass_v2 |
^1.0.3 |
1.0.3 | 1.0.3 |
geolocator |
^11.0.0 |
11.0.0 | 11.0.0 |
stream_transform |
^2.1.0 |
2.1.0 | 2.1.0 |
vector_math |
^2.1.4 |
2.1.4 | 2.1.4 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters |
- | 1.3.0 | 1.3.0 |
collection |
- | 1.18.0 | 1.18.0 |
crypto |
- | 3.0.3 | 3.0.3 |
fixnum |
- | 1.1.0 | 1.1.0 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
geolocator_android |
- | 4.5.4 | 4.5.4 |
geolocator_apple |
- | 2.3.7 | 2.3.7 |
geolocator_platform_interface |
- | 4.2.2 | 4.2.2 |
geolocator_web |
- | 3.0.0 | 3.0.0 |
geolocator_windows |
- | 0.2.3 | 0.2.3 |
material_color_utilities |
- | 0.8.0 | 0.11.1 |
meta |
- | 1.11.0 | 1.14.0 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
sky_engine |
- | 0.0.99 | 0.0.99 |
sprintf |
- | 7.0.0 | 7.0.0 |
typed_data |
- | 1.3.2 | 1.3.2 |
uuid |
- | 4.4.0 | 4.4.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analyzed with Pana 0.22.2
, Flutter 3.19.5
, Dart 3.3.3
.
Check the analysis log for details.