aeyrium_sensor 1.0.5

  • README.md
  • CHANGELOG.md
  • Example
  • Installing
  • Versions
  • 85

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.5

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] - 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.

example/README.md

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:


dependencies:
  aeyrium_sensor: ^1.0.5

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter packages get

Alternatively, your editor might support flutter packages 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';
  
Version Uploaded Documentation Archive
1.0.5 Dec 11, 2018 Go to the documentation of aeyrium_sensor 1.0.5 Download aeyrium_sensor 1.0.5 archive
1.0.4 Oct 4, 2018 Go to the documentation of aeyrium_sensor 1.0.4 Download aeyrium_sensor 1.0.4 archive
1.0.3 Oct 2, 2018 Go to the documentation of aeyrium_sensor 1.0.3 Download aeyrium_sensor 1.0.3 archive
1.0.2 Oct 1, 2018 Go to the documentation of aeyrium_sensor 1.0.2 Download aeyrium_sensor 1.0.2 archive
1.0.1 Oct 1, 2018 Go to the documentation of aeyrium_sensor 1.0.1 Download aeyrium_sensor 1.0.1 archive
1.0.0 Oct 1, 2018 Go to the documentation of aeyrium_sensor 1.0.0 Download aeyrium_sensor 1.0.0 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
70
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
85
Learn more about scoring.

We analyzed this package on Dec 11, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.1.0
  • pana: 0.12.7
  • Flutter: 1.0.0

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Dependencies

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
meta 1.1.6
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies
flutter_test
test ^1.3.0