timer_button 2.1.1 timer_button: ^2.1.1 copied to clipboard
Timer Button is a Flutter package that offers a customizable button widget capable of activation after a designated time interval.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add timer_button
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
timer_button: ^2.1.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:timer_button/timer_button.dart';