timer_widget 0.0.1
timer_widget: ^0.0.1 copied to clipboard
timer button and timer widget
- Example
TimerWidget(
timeOutInSeconds: 5,
onPressed: () {},
builder: (context, seconds, isRunning) {
if(isRunning){
// show any widget when time count Down
return const CircularProgressIndicator();
}else{
// show before on press any widget
return const Icon(Icons.ads_click);
}
}),
Put a short description of the package here that helps potential users know whether this package might be useful for them.
Features #
List what your package can do. Maybe include images, gifs, or videos.
Getting started #
List prerequisites and provide or point to information on how to start using the package.
Usage #
Include short and useful examples for package users. Add longer examples
to /example
folder.
const like = 'sample';
Additional information #
Tell users more about the package: where to find more information, how to contribute to the package, how to file issues, what response they can expect from the package authors, and more.