flutter_qiblah_update 2.0.3 copy "flutter_qiblah_update: ^2.0.3" to clipboard
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)

2
likes
110/ 140
pub points
56%
popularity

We analyzed this package 2 hours ago, and awarded it 110 pub points (of a possible 140):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

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.

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.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

8 out of 18 API elements (44.4 %) 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

OK
Platform support
20 / 20trigger folding of the section

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.
partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

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

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

0/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 ^0.7.0 0.7.0 0.8.0
geolocator ^9.0.1 9.0.2 11.0.0
stream_transform ^2.0.0 2.1.0 2.1.0
vector_math ^2.1.2 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.5 4.5.5
geolocator_apple - 2.3.7 2.3.7
geolocator_platform_interface - 4.2.2 4.2.2
geolocator_web - 2.2.1 3.0.0
geolocator_windows - 0.1.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.

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

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.

2
likes
110
pub points
56%
popularity

Publisher

unverified uploader

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)

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, flutter_compass, geolocator, stream_transform, vector_math

More

Packages that depend on flutter_qiblah_update