FLUTTER ECOSYSTEM

hemanthrajv/flutter_compass

hemanthrajv/flutter_compass open-source repository details.

flutter_compass प्रोजेक्ट कवर
Stars
108
Forks
196
अंतिम पुश (UTC)
17 नव॰ 2024
प्रोजेक्ट स्थिति
सक्रिय
Hemanth Raj V GitHub avatar
GITHUB User

Hemanth Raj V ↗

An innovation enthusiast and electronics hobbyist.

भाषाएँJavaDartSwiftRubyObjective-C

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

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

निर्भरता सूची 1 आइटम
  • flutter{"sdk":"flutter"}

मूल README

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

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

flutter_compass

pub package

A Flutter compass. The heading varies from 0-360, 0 being north.

Note: Android Only: null is returned as direction on android when no sensor available.

Usage

To use this plugin, add flutter_compass as a dependency in your pubspec.yaml file. For example:

dependencies:
  flutter_compass: '^0.8.1'
iOS

Make sure to add keys with appropriate descriptions to the Info.plist file.

  • NSLocationWhenInUseUsageDescription
  • NSLocationAlwaysAndWhenInUseUsageDescription

:memo: Reference example code

Android

Make sure to add permissions to the app/src/main/AndroidManifest.xml file.

  • android.permission.INTERNET
  • android.permission.ACCESS_COARSE_LOCATION
  • android.permission.ACCESS_FINE_LOCATION

:memo: Reference example code

Recommended support plugins

:memo: Reference example code