customtimerbutton 0.1.21
customtimerbutton: ^0.1.21 copied to clipboard
Very simple customizable widgets allowing you to create very nice and super ergonomic miniuter buttons that deactivate after exerting pressure on it and reactivate automatically once the defined time [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add customtimerbutton
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
customtimerbutton: ^0.1.21
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:customtimerbutton/timerbutton.dart';