canBack property

bool canBack

Check if you can return

Implementation

bool get canBack {
  if (_getNavigatorKey == null || _getNavigatorKey!.currentState == null) {
    return false;
  } else {
    return _getNavigatorKey!.currentState!.canPop();
  }
}