flutter_qiblah_update 2.0.2
flutter_qiblah_update: ^2.0.2 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 (updated for flutter 3)
We analyzed this package 9 hours ago, and awarded it 130 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Repository has no matching pubspec.yaml with name: flutter_qiblah_update.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: flutter_qiblah_update, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
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 21 API elements (38.1 %) have documentation comments.
Some symbols that are missing documentation: flutter_qiblah, flutter_qiblah.FlutterQiblah.FlutterQiblah.new, flutter_qiblah.LocationStatus.LocationStatus.new, flutter_qiblah.LocationStatus.enabled, flutter_qiblah.LocationStatus.status.
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_update/flutter_qiblah.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:flutter_qiblah_update/flutter_qiblah.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:flutter_qiblah_update/flutter_qiblah.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:flutter_qiblah_update/flutter_qiblah.dartthat 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_update/flutter_qiblah.dartthat imports:package:geolocator/geolocator.dartthat imports:package:geolocator_apple/geolocator_apple.dartthat declares support for platforms:iOS,macOS.
Package does not support platform `iOS`.
Because:
package:flutter_qiblah_update/flutter_qiblah.dartthat imports:package:geolocator/geolocator.dartthat imports:package:geolocator_android/geolocator_android.dartthat declares support for platforms:Android.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on iOS
It does not contain ios/flutter_qiblah_update/Package.swift.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: Statements in an if should be enclosed in a block.
lib/flutter_qiblah.dart:30:7
╷
30 │ return await _channel.invokeMethod("androidSupportSensor");
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_qiblah.dart
INFO: Statements in an if should be enclosed in a block.
lib/flutter_qiblah.dart:32:7
╷
32 │ return true;
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_qiblah.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
flutter_compass |
^0.7.0 |
0.7.0 | 0.8.1 | |
geolocator |
^9.0.1 |
9.0.2 | 14.0.2 | |
stream_transform |
^2.0.0 |
2.1.1 | 2.1.1 | |
vector_math |
^2.1.3 |
2.2.0 | 2.2.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
geolocator_android |
- | 4.6.2 | 5.0.2 | |
geolocator_apple |
- | 2.3.13 | 2.3.13 | |
geolocator_platform_interface |
- | 4.2.6 | 4.2.6 | |
geolocator_web |
- | 2.2.1 | 4.1.3 | |
geolocator_windows |
- | 0.1.3 | 0.2.5 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.2 | 4.5.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.7.0` on flutter_compass does not support the stable version `0.8.0`.
Try running dart pub upgrade --major-versions flutter_compass to update the constraint.
The constraint `^9.0.1` on geolocator does not support the stable version `10.0.0`.
Try running dart pub upgrade --major-versions geolocator to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.5, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.