pop method
Implementation
Future<bool> pop(BuildContext context) async {
if (inline) {
return false;
}
if (willPop == null) {
return await Navigator.of(context).maybePop();
}
if (willPop!()) {
return await Navigator.of(context).maybePop();
}
return false;
}