loading_hud 0.1.0 loading_hud: ^0.1.0 copied to clipboard
A dialog with a loading indicator.
LoadingHud #
A dialog with a loading indicator.
Getting Started #
Add dependency #
dependencies:
loading_hud: ^0.1.0
Examples #
var loadingHud = LoadingHud(
context,
cancelable: true, // Cancelable when pressing Android back key
canceledOnTouchOutside: true, // Cancelable when touch outside of the LoadingHud
dimBackground: false, // Dimming background when LoadingHud is showing
hudColor: Color(0x99000000), // Color of the ProgressHud
indicatorColor: Color(0xFFFFFFFF), // Color of the spinning progress indicator
);
/// Show LoadingHud
loadingHud.show();
/// Dismiss LoadingHud
loadingHud.dismiss();