FLUTTER ECOSYSTEM

motion_sensors

Flutter plugin for accessing the Android and iOS accelerometer, gyroscope, magnetometer, and orientation sensors.

Latest version
0.1.0
30-day downloads
730
Likes
49
Pub points
150

Package Overview

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

Overview

The motion_sensors package is a Flutter plugin that provides access to device motion sensors on Android and iOS, including accelerometer, gyroscope, magnetometer, and orientation data. It enables real-time sensor readings for applications requiring device movement or position tracking. The plugin is lightweight and integrates seamlessly with Flutter's event-driven architecture, allowing developers to build interactive experiences such as gesture recognition, augmented reality features, or fitness tracking. It supports both platforms and is maintained by final.dev.

Use cases
  • Gesture detection in mobile apps
  • Augmented reality applications
  • Fitness and activity tracking
  • Device orientation monitoring
  • Interactive game controls
Key features
  • Real-time sensor data streaming
  • Support for accelerometer, gyroscope, magnetometer, and orientation
  • Cross-platform compatibility (Android & iOS)
  • Simple API for subscribing to sensor events
  • Low-level access to raw sensor values
Suitable for
  • Developers building motion-aware apps
  • Apps requiring real-time device movement tracking
  • AR/VR and gaming applications
  • Fitness and health tracking tools
Considerations
  • Requires appropriate permissions on Android and iOS
  • Battery usage may increase with continuous sensor polling
  • Data accuracy depends on device hardware
  • Not suitable for high-precision industrial applications
  • May require calibration on certain devices
Supported platformsAndroidiOS

Install package

flutter pub add motion_sensors

Categories

Source repository

Related projects