FLUTTER ECOSYSTEM

zesage/motion_sensors

Android और iOS एक्सीलरोमीटर गाइरोस्कोप और मैग्नेटोमीटर सेंसर को एक्सेस करने के लिए Flutter प्लगइन।

motion_sensors प्रोजेक्ट कवर
Stars
45
Forks
69
अंतिम पुश (UTC)
23 अप्रैल 2024
प्रोजेक्ट स्थिति
सक्रिय
Zebiao Hu GitHub avatar
GITHUB User

Zebiao Hu ↗

Just a coder! Languages: Flutter, Dart, Go, Delphi.

Shenzhen
भाषाएँDartSwiftKotlinRubyObjective-C

इस रिपॉज़िटरी के पैकेज

उपयोग की गई निर्भरताएँ

निर्भरता सूची 4 आइटम

मूल README

यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।

README खोलें / बंद करें

motion_sensors

pub package

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

Getting Started

To use this plugin, add motion_sensors as a dependency in your pubspec.yaml file.

dependencies:
  motion_sensors: ^0.1.0

Import to your project.

import 'package:motion_sensors/motion_sensors.dart';

motionSensors.magnetometer.listen((MagnetometerEvent event) {
    print(event);
});

Screenshot

https://github.com/zesage/motion_sensors/raw/master/screenshot.png