v0.1.0
motion_sensors
एंड्रॉइड और आईओएस एक्सीलरोमीटर, गाइरोस्कोप, मैग्नेटोमीटर और ओरिएंटेशन सेंसर को एक्सेस करने के लिए फ्लटर प्लगइन।
49लाइक 73030-दिन डाउनलोड150Pub अंक
AndroidiOS
Android और iOS एक्सीलरोमीटर गाइरोस्कोप और मैग्नेटोमीटर सेंसर को एक्सेस करने के लिए Flutter प्लगइन।
{"sdk":"flutter"}^2.1.0^1.0.2{"sdk":"flutter"}यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
Flutter plugin for accessing the Android and iOS accelerometer, gyroscope, magnetometer and orientation sensors.
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);
});