hold_down_button 1.1.0 copy "hold_down_button: ^1.1.0" to clipboard
hold_down_button: ^1.1.0 copied to clipboard

A Flutter package to trigger an action repeatedly when a widget is hold/pressed down.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add hold_down_button

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

dependencies:
  hold_down_button: ^1.1.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:hold_down_button/hold_down_button.dart';
6
likes
160
points
250
downloads

Publisher

verified publisheroutdatedguy.rocks

Weekly Downloads

A Flutter package to trigger an action repeatedly when a widget is hold/pressed down.

Homepage
Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on hold_down_button