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)
Flutter Qiblah #
Getting Started #
To start using this package, add
flutter_qiblah dependency to your
dependencies: flutter_qiblah: '<latest_release>'
- Check Device Sensor support (Android)
- Request Location permission
- Check GPS Status (Enabled and permission status)
- Receive Qiblah direction, North direction and Qiblah offset from North
Here is the 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 📝 Example Code
For devices with no sensors, a Map can be displayed with the direction from the current/selected location to Mecca. check the 📝 Example Code
Please file any issues, bugs or feature request as an issue on our GitHub page.
Want to contribute #
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.