loading_progress 1.0.2 icon indicating copy to clipboard operation
loading_progress: ^1.0.2 copied to clipboard

A flutter widget of loading progress Indicator. You can easily customize as you want.

loading_progress #

A flutter widget of loading progress Indicator. You can easily customize as you want.

Website example >> https://loadingprogress.mustafaturkmen.dev

Usage #

It has a very easy to use.

add this line to pubspec.yaml


   dependencies:
     loading_progress: ^1.0.2

import package


   import 'package:loading_progress/loading_progress.dart';

Start it with

   LoadingProgress.start(context);

Stop it with

   LoadingProgress.stop(context);

Complete Example #

   LoadingProgress.start(context);
   await Future.delayed(const Duration(seconds: 3));
   LoadingProgress.stop(context);

gif_1

Use With Gif #

   LoadingProgress.start(context,
     gifOrImagePath: 'assets/loading.gif',
   );
   await Future.delayed(const Duration(seconds: 3));
   LoadingProgress.stop(context);

gif_2

Use With Custom Widget #

   LoadingProgress.start(context,
     widget: Container(
       width: MediaQuery.of(context).size.width / 4,
       padding: EdgeInsets.all(MediaQuery.of(context).size.width / 13),
       child: const AspectRatio(
                aspectRatio: 1,
                child: const CircularProgressIndicator(),
             ),
         ),
   );
   await Future.delayed(const Duration(seconds: 3));
   LoadingProgress.stop(context);
9
likes
120
pub points
70%
popularity

Publisher

verified publisher iconmustafaturkmen.dev

A flutter widget of loading progress Indicator. You can easily customize as you want.

Homepage

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on loading_progress