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

Listen to user click and drag events over portions of your screen. Implement callbacks to handle pointer events over specific regions of your app screen.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add region_detector

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

dependencies:
  region_detector: ^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:region_detector/region_detector.dart';
0
likes
160
points
22
downloads

Publisher

verified publisheralgure.tech

Weekly Downloads

Listen to user click and drag events over portions of your screen. Implement callbacks to handle pointer events over specific regions of your app screen.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on region_detector