flutter_overlay_loader 0.1.1
flutter_overlay_loader: ^0.1.1 copied to clipboard

A new Flutter package for developer who want to show overlay loader or progressbar for completing future task.

flutter_overlay_loader #

A new Flutter package for developer who want to show overlay loader or progressbar for completing future task.

Overlay loader without overlaying Appbar

drawing drawing

Overlay Loader without overlaying BottomAppBar and also overlaying AppBar

drawing

Getting Started #

Installing #

dependencies:
  flutter_overlay_loader: ^0.1.1

Import #

import 'package:flutter_overlay_loader/flutter_overlay_loader.dart';

How To Use #

When start network call then call this line of code..

Loader.show(context,progressIndicator:LinearProgressIndicator());

After finished network call then call :

Loader.hide();

You can customize this loader..

Loader.show(context,
                      isAppbarOverlay: true,
                      isBottomBarOverlay: false,
                      progressIndicator: CircularProgressIndicator(),
                      themeData: Theme.of(context)
                          .copyWith(accentColor: Colors.black38),
                      overlayColor: Color(0x99E8EAF6));

Finally dispose call hide method on dispose method :

@override
  void dispose() {
  Loader.hide();

    super.dispose();
  }
26
likes
120
pub points
91%
popularity

A new Flutter package for developer who want to show overlay loader or progressbar for completing future task.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

poran.cse@gmail.com

License

Apache 2.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_overlay_loader