v3.2.0flutter_qiblah
Flutter Qiblah 是一个包,可让您在应用程序中显示朝向麦加的方向,并支持 Android 和 iOS
Flutter Qiblah 是一个插件,可让您在应用程序中显示朝向克尔白的方向,支持 Android 和 iOS。
{"sdk":"flutter"}^1.0.3^14.0.2^2.1.1^2.2.0以下为英文项目原文快照,最新内容请访问 GitHub。
To start using this package, add flutter_qiblah dependency to your pubspec.yaml
dependencies:
flutter_qiblah: '<latest_release>'
The package not not work on the iOS Simulator. To test on iOS please use a real device. Checkout #39
Here is the Example app demo:
Example app Demo
Based on the LocationStatus class, you can add a check to see the current status of the GPS and display an error widget if it's disabled or permission is denied. check the :memo: Example Code
GPS Disabled
For devices with no sensors, a Map can be displayed with the direction from the current/selected location to Mecca. check the :memo: Example Code
Qiblah with maps
Please file any issues, bugs or feature request as an issue on our GitHub page.
If you would like to contribute to the plugin (e.g. by improving the documentation, solving a bug or adding a cool new feature), please carefully review our contribution guide and send us your pull request.