showLoading method
void
showLoading({
Implementation
void showLoading({bool useRootNavigator = false}) {
_isShowDialog = true;
Utils.showModalDialog(
context: context,
useRootNavigator: useRootNavigator,
bg: DudvConfig.bgLoadingValue,
ctx: (mContext) {
_ctx = mContext;
},
view: SizedBox(
width: 100,
height: 100,
child: Center(
child: DudvConfig.loadingView ??
(Utils.isAndroid
? CircularProgressIndicator(
color: _color,
)
: CupertinoActivityIndicator(
radius: 15,
color: _color,
)))),
);
}