Search categories, packages and repositories

Package detailsv1.0.7

aeyrium_sensor

A Flutter sensor plugin which provide easy access to the Pitch and Roll on Android and iOS devices.

30-day downloads
83
Likes
15
Pub points
35

Install package

flutter pub add aeyrium_sensor

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

aeyrium_sensor is a Flutter plugin that provides straightforward access to device pitch and roll data on both Android and iOS platforms. Designed for developers seeking real-time orientation feedback, it leverages native sensor APIs to deliver accurate angular measurements. The plugin simplifies integration into apps requiring motion detection or device tilt awareness, such as gaming, augmented reality, or interactive UIs. With minimal setup via the pub command, it enables seamless cross-platform functionality without additional configuration. It's ideal for lightweight motion-based features.

Use cases

  • Gaming controls using device tilt
  • Augmented reality applications
  • Interactive UI elements based on device orientation
  • Motion-based navigation
  • Real-time tilt visualization

Key features

  • Access to pitch and roll values
  • Cross-platform support (Android & iOS)
  • Simple API integration
  • Real-time sensor updates
  • Lightweight and efficient

Suitable for

  • Developers building motion-responsive apps
  • Apps requiring device orientation tracking
  • Prototyping tilt-based interactions
  • Educational tools for physics concepts
  • Simple AR or gaming interfaces

Considerations

  • Limited to pitch and roll (no yaw)
  • Requires device with gyroscope
  • No support for web or desktop platforms
  • Accuracy depends on hardware calibration
  • Background operation may require additional permissions

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Flutter Aeyrium Sensor Plugin

Aeyrium Sensor Plugin

A Flutter sensor plugin which provide easy access to the Pitch and Roll on Android and iOS devices. It was made using TYPE_ROTATION_VECTOR sensor on Android and DeviceMotion on iOS.

Import

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

dependencies:
  aeyrium_sensor: ^1.0.7

Usage

import 'package:aeyrium_sensor/aeyrium_sensor.dart';

AeyriumSensor.sensorEvents.listen((SensorEvent event) {
      //do something with the event , values expressed in radians
      print("Pitch ${event.pitch} and Roll ${event.roll}")
      
    });

Real Demo

We developed this plugin to use it on our Attitude indicator screen. Aeyrium Sensor

Issues

Please file any issues, bugs or feature request as an issue on our GitHub page.

Author

This Aeyrium Sensor plugin for Flutter is developed by Aeyrium Inc

Categories

Source repository

Projects using this package

No data available yet.