web_compass 1.0.0 copy "web_compass: ^1.0.0" to clipboard
web_compass: ^1.0.0 copied to clipboard

Platformweb

A clean Flutter Web package to read absolute and relative device orientation (compass) sensors.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add web_compass

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  web_compass: ^1.0.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:web_compass/web_compass.dart';
0
likes
130
points
0
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A clean Flutter Web package to read absolute and relative device orientation (compass) sensors.

License

MIT (license)

Dependencies

flutter, web

More

Packages that depend on web_compass