0 purchases
covid puncher
covid_puncher #
An interactive loader which can be shown instead of boring spinners
Getting Started #
This mini game-loader will make your users more excited during long-waiting procedures.
Just show or hide the game as shown in the examples.
Usage #
Here is a simple use case where the CovidPuncherLoader is shown only when the data is loading
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Plugin example app'),
),
body: Center(
child: isLoading ? CovidPuncherLoader() : ElevatedButton(
onPressed: (){
loadInformation();
},
child: Text("Load a lot of information")
)
),
),
);
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.