Skip to main content

true_compass 0.0.1 copy "true_compass: ^0.0.1" to clipboard
true_compass: ^0.0.1 copied to clipboard

Compass heading for Flutter with magnetic and true north (offline WMM2025), calibration events, smoothing and a themeable dial. Android, iOS, web.

0.0.1 #

Initial release.

  • TrueCompass: heading stream with magnetic and true north, accuracy and calibration streams, configurable update interval, smoothing and screen-rotation compensation.
  • MagneticDeclination: World Magnetic Model 2025 (WMM2025) in pure Dart, verified against NOAA's published test values.
  • CompassView: themeable dial with builders, target marker and shortest-arc animation.
  • Android (rotation vector sensor, Kotlin, AGP 8 and 9 compatible, no androidx dependency), iOS (CoreLocation heading, Swift Package Manager and CocoaPods) and web (DeviceOrientationEvent, iOS Safari permission flow).
1
likes
160
points
26
downloads
screenshot

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Compass heading for Flutter with magnetic and true north (offline WMM2025), calibration events, smoothing and a themeable dial. Android, iOS, web.

Repository (GitHub)
View/report issues

Topics

#compass #sensors #heading #magnetometer #orientation

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, plugin_platform_interface, web

More

Packages that depend on true_compass

Packages that implement true_compass