future_progress_dialog 0.1.1 future_progress_dialog: ^0.1.1 copied to clipboard
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.
future_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.
Supported Dart Versions #
Dart SDK version >= 2.1.0
Installation #
Add the Package
dependencies:
future_progress_dialog: ^0.1.1
How to use #
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, FutureProgressDialog(future, message : Text('loading...')));
Or you can show it without message.
showDialog(context, FutureProgressDialog(future));