requiredContext property

  1. @Deprecated('Will be removed')
Future<BuildContext> get requiredContext

Implementation

@Deprecated('Will be removed')
Future<BuildContext> get requiredContext =>
    whenMoreThanState(LifecycleState.started).then((_) => context);