utils/u_loading library
Classes
- ULoading
-
Full-screen blocking loader over the whole app, from anywhere; UHttpClient-based services show it for you.
ULoading.show(); await save(); ULoading.dismiss(); - ULoadingSettings
-
Look of the ULoading overlay: spinner or image/Lottie, text, blur, colors, percent.
initU(loadingSettings: const ULoadingSettings(text: "Please wait"))
Typedefs
- ULoadingPercentBuilder = Widget Function(BuildContext context, int percent)
- Builds your own percent label for ULoading, from 0-100.