show static method
Implementation
static void show(Widget widget) {
if (context != null) {
showDialog(context: context!, builder: ((context) => widget));
} else {
throw Exception(
"You need do call 'Globals.setContext(context);' above 'return MaterialApp(...'");
}
}