Last updated:
0 purchases
loading dialog
loading_dialog #
A flutter widget of loading dialog.Easy to use.
Installing #
dependencies:
loading_dialog: ^0.0.1 #latest version
copied to clipboard
or
dependencies:
loading_dialog:
git:
url: "https://github.com/tianyu704/loading_dialog"
copied to clipboard
Getting Started #
Default
LoadingDialog loading = LoadingDialog(context);
loading.show();
loading.hide();
copied to clipboard
Your custom
LoadingDialog loadingDialog = LoadingDialog(
buildContext: context,
loadingView: null, //yourself loading view ,default is CircularProgressIndicator
radius: 15, //dialog bg radius
elevation: 0, //dialog elevation
size: 50, // loading view size
padding: 10, //text to loading view
width: 150, //dialog width
height: 150, //dialog height
loadingMessage: "Loading...", //your message
textColor: Colors.black54, //message text color
textSize: 14,//message text size
style: LoadingDialogStyle.horizontal, // or vertical
backgroundColor: Colors.white, //dialog background color
barrierColor: Colors.black54, //window color
barrierDismissible: true, //touch window dismiss
);
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.