loading property
The custom loading widget
Implementation
late Widget loading = PopScope(
canPop: false,
child: Dialog(
backgroundColor: Colors.transparent,
shadowColor: Colors.transparent,
surfaceTintColor: Colors.transparent,
child: Builder(builder: (context) {
return loaderWidget ??
Image.asset('assets/loader.gif',
package: "uikit_flutter",
height: 70,
width: 70,
color: Theme.of(context).primaryColor);
})),
);