in ,

A flutter package for showing progress dialog

flutter_package_ progress_dialog

A progress bar is an important control element of the progression of an extended computer operation. Here is a very simple and easy-to-use flutter package for showing a progress bar.

Usage

Import the package

import 'package:custom_progress_dialog/custom_progress_dialog.dart';

Create an object for ProgressDialog class

ProgressDialog _progressDialog = ProgressDialog();

showing progress dialog

_progressDialog.showProgressDialog(context,dismissAfter: Duration(seconds: 5),textToBeDisplayed:'Sending...',onDismiss:(){
	//things to do after dismissing -- optional
});
dismissAfter - if null then progress dialog won't dismiss until dismissProgressDialog is called from the code.

dismiss progressDialog

_progressDialog.dismissProgressDialog(context);

pdialog flutter package

GitHub

https://github.com/VikasJilla/progress_dialog

Written by James

A new Flutter package project for simple and awesome dialogs

A pure dart package for showing animated alert box