flutter_compass 0.3.6 copy "flutter_compass: ^0.3.6" to clipboard
flutter_compass: ^0.3.6 copied to clipboard

outdated

A Flutter compass. The heading varies from 0-360, 0 being north.

flutter_compass #

pub package

A Flutter compass. The heading varies from 0-360, 0 being north.

Usage #

To use this plugin, add flutter_compass as a dependency in your pubspec.yaml file. For example:

dependencies:
  flutter_compass: '^0.3.4'

iOS #

Make sure to add keys with appropriate descriptions to the Info.plist file.

  • NSLocationWhenInUseUsageDescription
  • NSLocationAlwaysAndWhenInUseUsageDescription

📝 Reference example code

Android #

Make sure to add permissions to the app/src/main/AndroidManifest.xml file.

  • android.permission.INTERNET
  • android.permission.ACCESS_COARSE_LOCATIO
  • android.permission.ACCESS_FINE_LOCATION

📝 Reference example code

📝 Reference example code

160
likes
0
pub points
97%
popularity

Publisher

verified publisherhemanthraj.in

A Flutter compass. The heading varies from 0-360, 0 being north.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, rxdart

More

Packages that depend on flutter_compass