loading_dialog

A flutter widget of loading dialog.Easy to use.

Installing

dependencies:
  loading_dialog: ^0.0.1 #latest version

or

dependencies:
  loading_dialog:
    git:
      url: "https://github.com/tianyu704/loading_dialog"

Getting Started

Default

LoadingDialog loading = LoadingDialog(context);
loading.show();
loading.hide();

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
);

Libraries

loading_dialog