timer_button 2.3.1
timer_button: ^2.3.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
copied to clipboard
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
timer_button: ^2.3.1
copied to clipboard
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';
copied to clipboard