overlay_loading_progress

Creator: coderz1093

Last updated:

Add to Cart

Description:

overlay loading progress

overlay_loading_progress #
A flutter widget of overlay 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:
overlay_loading_progress: ^1.0.1

copied to clipboard
import package

import 'package:overlay_loading_progress/overlay_loading_progress.dart';

copied to clipboard
Start it with
OverlayLoadingProgress.start(context);
copied to clipboard
Stop it with
OverlayLoadingProgress.stop();
copied to clipboard
Complete Example #
OverlayLoadingProgress.start(context);
await Future.delayed(const Duration(seconds: 3));
OverlayLoadingProgress.stop();
copied to clipboard

Use With Gif #
OverlayLoadingProgress.start(context,
gifOrImagePath: 'assets/loading.gif',
);
await Future.delayed(const Duration(seconds: 3));
OverlayLoadingProgress.stop();
copied to clipboard

Use With Custom Widget #
OverlayLoadingProgress.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));
OverlayLoadingProgress.stop();
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.