v0.2.1future_progress_dialog
future_progress_dialog is a simple progress dialog library for async tasks. FutureProgressDialog start when you call showDialog function, but dismiss automatically when future task is finished.
donguseo/future_progress_dialog open-source repository details.
English project snapshot. Visit GitHub for the latest content.
future_progress_dialog is a simple progress dialog library for async tasks. FutureProgressDialog start when you call showDialog function, but dismiss automatically when future task is finished.
Dart SDK version >= 2.1.0
Add the Package
dependencies:
future_progress_dialog: ^0.2.0
Import the package in your dart file
import 'package:future_progress_dialog/future_progress_dialog.dart';
Call showDialog method with FutureProgressDialog with message.
showDialog(
context: context,
builder: (context) =>
FutureProgressDialog(getFuture(), message: Text('Loading...')),
);
Or you can show it without message.
await showDialog(
context: context,
builder: (context) =>
FutureProgressDialog(getFuture()),
);
Dependency list 2 items
{"sdk":"flutter"}{"sdk":"flutter"}Start with your use case, compare repository activity, and check the original project before adopting it.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗