showLoadingScreen function
Implementation
LoadingScreenHandler showLoadingScreen(
BuildContext context, {
String? text,
Color? color,
}) {
var handler = LoadingScreenHandler(
color: color,
text: text,
context: context,
);
showDialog<String>(
context: context,
builder: (BuildContext context) => LoadingScreenBody(
handler: handler,
),
);
return handler;
}