v0.1.0
motion_sensors
用於存取 Android 與 iOS 加速度計、陀螺儀、磁力計與方向感測器的 Flutter 插件。
49喜歡 451近 30 天下載150Pub 分數
AndroidiOS
用於存取 Android 與 iOS 加速度計、陀螺儀和磁力計感應器的 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);
});

依賴清單 4 項
{"sdk":"flutter"}^2.1.0^1.0.2{"sdk":"flutter"}先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗