future_progress_dialog 0.2.1 copy "future_progress_dialog: ^0.2.1" to clipboard
future_progress_dialog: ^0.2.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.2.0
copied to clipboard

How to use #

Import the package in your dart file

import 'package:future_progress_dialog/future_progress_dialog.dart';
copied to clipboard

Call showDialog method with FutureProgressDialog with message.

    showDialog(
      context: context,
      builder: (context) =>
          FutureProgressDialog(getFuture(), message: Text('Loading...')),
    );
copied to clipboard

Or you can show it without message.

    await showDialog(
      context: context,
      builder: (context) =>
          FutureProgressDialog(getFuture()),
    );
copied to clipboard
33
likes
140
points
772
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.23 - 2025.04.07

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.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on future_progress_dialog