covid_puncher 0.0.2+1 icon indicating copy to clipboard operation
covid_puncher: ^0.0.2+1 copied to clipboard

An interactive loader which can be shown instead of boring spinners

covid_puncher #

License: MIT

Flutter

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")
          )
        ),
      ),
    );
  }
2
likes
130
pub points
0%
popularity

Publisher

unverified uploader

An interactive loader which can be shown instead of boring spinners

Homepage

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter, flutter_web_plugins

More

Packages that depend on covid_puncher