Search packages, repositories and app categories

future_progress_dialog cover
Package detailsv0.2.1

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.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
810
Likes
33
Pub points
140

Install package

flutter pub add future_progress_dialog

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

FutureProgressDialog is a lightweight Flutter package that displays a progress dialog automatically when an async task begins and dismisses it once the task completes. It integrates seamlessly with Future-based operations, eliminating the need for manual dialog management. Ideal for showing loading states during network requests or long-running computations, it enhances user experience by providing visual feedback without additional boilerplate code.

Use cases

  • Showing loading state during API calls
  • Displaying progress for file uploads/downloads
  • Enhancing UX in background processing tasks
  • Simplifying async operation handling
  • Automatically managing dialog lifecycle

Key features

  • Auto-show on Future execution
  • Auto-dismiss when Future completes
  • Minimal setup required
  • Customizable progress message
  • Supports all major platforms

Suitable for

  • Developers seeking simple async progress handling
  • Apps with frequent network or I/O operations
  • Projects requiring clean, reusable loading dialogs
  • Teams prioritizing developer productivity

Considerations

  • Limited customization options
  • Does not support cancellation of ongoing tasks
  • No built-in retry mechanism
  • Best suited for single, straightforward async operations

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

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

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: context,
      builder: (context) =>
          FutureProgressDialog(getFuture(), message: Text('Loading...')),
    );

Or you can show it without message.

    await showDialog(
      context: context,
      builder: (context) =>
          FutureProgressDialog(getFuture()),
    );

Categories

Source repository

Projects using this package