aeyrium_sensor 1.0.7

  • Readme
  • Changelog
  • Example
  • Installing
  • 82

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:

  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

[1.0.5 - 1.0.7] - 12/10/2018

  • Fixed roll value calculation for iOS.

[1.0.4] - 10/02/2018

  • Values are expressed in radians instead of degrees.
  • Use AeyriumSensor.sensorEvents instead of AeyriumSensor().sensorEvents

[1.0.3] - 10/02/2018

  • Pitch value was fixed when rotate the device on iOS.

[1.0.0 - 1.0.2] - 10/01/2018

  • Get the pitch and roll from your device.


aeyrium_sensor_example #

Demonstrates how to use the aeyrium_sensor plugin.

Getting Started #

For help getting started with Flutter, view our online documentation.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  aeyrium_sensor: ^1.0.7

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:aeyrium_sensor/aeyrium_sensor.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Jan 21, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.0
  • pana: 0.13.4
  • Flutter: 1.12.13+hotfix.5

Maintenance issues and suggestions

Homepage URL doesn't exist. (-20 points)

At the time of the analysis the homepage field was unreachable.

Update (-2 points)

1 image link is insecure (e.g., use https URLs instead.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.68.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.11 1.14.12
meta 1.1.8
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies
test ^1.3.0