endScreen static method
Implementation
static void endScreen(BuildContext context){
if (Navigator.canPop(context)) {
Navigator.pop(context);
} else {
SystemNavigator.pop();
}
}
static void endScreen(BuildContext context){
if (Navigator.canPop(context)) {
Navigator.pop(context);
} else {
SystemNavigator.pop();
}
}