Skip to content

leonardopinho/simple_preloader

Repository files navigation

pub package

Simple Preloader

This widget is a simple and functional preloader, ideal for enhancing the experience in applications that make asynchronous calls. It offers customization options, allowing users to select between different types and themes, adapting to the application's style and providing a more pleasant and consistent experience.

Screenshot

Customization

Preloaders can be customized with the following parameters:

    SimplePreloader(
       type = PreloaderType.DEFAULT,
        indicatorColor: Colors.white,
        containerColor: Colors.black54,
        containerOpacity: .5,
        backgroundColor:  Colors.black38,
        backgroundOpacity: .5,
        child: Builder(builder: (context) {
          var preloader = SimplePreloader.of(context);
          ...
          preloader.show();
          ...
          preloader.hide();
        }),
    );

About

Flutter package for preloading content

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors