Search packages, repositories and app categories

GitHub repositorydonguseo/future_progress_dialog

future_progress_dialog

donguseo/future_progress_dialog open-source repository details.

future_progress_dialog project cover
Stars
5
Forks
3
Last push (UTC)
Dec 2, 2022
Project status
Active

Original README

English project snapshot. Visit GitHub 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()),
    );
Dong-u Seo GitHub avatar
GitHub author

Dong-u Seo ↗

Republic of Korea
LanguagesDartKotlinSwiftObjective-C

Packages published by this repository

Dependencies used

Dependency list 2 items

  • flutter{"sdk":"flutter"}
  • flutter_testDevelopment{"sdk":"flutter"}

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗