context property

BuildContext? get context

return the current context linked to the global navigatorKey

Implementation

BuildContext? get context {
  return navigatorKey.currentContext;
}