loadingIn function
Implementation
Future loadingIn(BuildContext context, {Widget? loaderIn}) {
return showDialog(
barrierDismissible: false,
context: context,
builder: (BuildContext context) {
return SimpleDialog(
elevation: 0.0,
backgroundColor: Colors.transparent,
children: [
loaderIn ?? loader(),
],
);
},
);
}