FLUTTER ECOSYSTEM

flutter_compass

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

Latest version
0.8.1
30-day downloads
74.4K
Likes
190
Pub points
150

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

A Flutter package that provides access to the device's compass sensor, delivering real-time heading values from 0 to 360 degrees, where 0 represents north. It enables apps to detect directional orientation using the device's built-in magnetometer. The package is compatible with both Android and iOS platforms and integrates seamlessly into Flutter applications. Developers can use it to build navigation tools, augmented reality features, or any app requiring directional awareness.

Use cases
  • Navigation apps
  • Augmented reality experiences
  • Directional UI indicators
  • Outdoor activity tracking
  • Map-based applications
Key features
  • Real-time heading updates
  • 0-360 degree orientation
  • Cross-platform support (Android & iOS)
  • Simple API integration
  • Magnetometer-based sensing
Suitable for
  • Developers building location-aware apps
  • Apps needing real-time direction data
  • Educational tools for geography
  • Hiking and outdoor navigation apps
Considerations
  • Requires device with a magnetometer
  • May need calibration in some environments
  • Accuracy can be affected by magnetic interference
  • Limited functionality on devices without sensors
Supported platformsAndroidiOS

Install package

flutter pub add flutter_compass

Categories

Source repository

Related projects