angle_detector 0.0.1 copy "angle_detector: ^0.0.1" to clipboard
angle_detector: ^0.0.1 copied to clipboard

A Flutter widget that calculates the angle (in radians) between its center and the user's touch position.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add angle_detector

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

dependencies:
  angle_detector: ^0.0.1

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:angle_detector/angle_detector.dart';
0
likes
140
points
29
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter widget that calculates the angle (in radians) between its center and the user's touch position.

Repository (GitHub)
View/report issues

Topics

#angle #gesture #touch

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on angle_detector