flutter_qiblah_update 2.0.3
flutter_qiblah_update: ^2.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 (updated for flutter 3)
We analyzed this package 4 days ago, and awarded it 130 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Please provide a valid repository
URL in pubspec.yaml
, such that:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: flutter_qiblah_update
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Repository has no matching pubspec.yaml
with name: flutter_qiblah_update
.
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.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:flutter_qiblah_update/flutter_qiblah.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:flutter_qiblah_update/flutter_qiblah.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:flutter_qiblah_update/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_update/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_update/flutter_qiblah.dart
that imports:package:geolocator/geolocator.dart
that imports:package:geolocator_android/geolocator_android.dart
that declares support for platforms:Android
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:flutter_qiblah_update/flutter_qiblah.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
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.2 |
2.1.4 | 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.6 | 3.0.6 | |
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.16.0 | 1.17.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.1 | 4.5.1 |
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.22.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.