canHandleBack method
Implementation
bool canHandleBack(BuildContext context) {
if (isDrawerOpen || isEndDrawerOpen) return true;
if (canPopShell) return true;
return Navigator.of(context).canPop();
}
bool canHandleBack(BuildContext context) {
if (isDrawerOpen || isEndDrawerOpen) return true;
if (canPopShell) return true;
return Navigator.of(context).canPop();
}