tilt 0.0.2 copy "tilt: ^0.0.2" to clipboard
tilt: ^0.0.2 copied to clipboard

Easy access to the current tilt on `x` and `y` axis.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add tilt

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

dependencies:
  tilt: ^0.0.2

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:tilt/tilt.dart';
4
likes
120
pub points
65%
popularity

Publisher

unverified uploader

Easy access to the current tilt on `x` and `y` axis.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, sensors_plus, stream_transform

More

Packages that depend on tilt