context property

BuildContext get context

Implementation

BuildContext get context {
  if (buildContext != null) {
    return buildContext!;
  }
  return navigatorKey!.currentContext!;
}