FLUTTER ECOSYSTEM

zesage/motion_sensors

Android 및 iOS 가속도계 자이로스코프 및 자기장 센서에 액세스하는 Flutter 플러그인입니다.

motion_sensors 프로젝트 이미지
Stars
45
Forks
69
최근 푸시(UTC)
2024. 4. 23.
프로젝트 상태
활성
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