findwithContext<T> static method

T? findwithContext<T>(
  1. BuildContext context, {
  2. Object? group,
  3. bool useNopGroup = true,
})

Implementation

static T? findwithContext<T>(BuildContext context,
    {Object? group, bool useNopGroup = true}) {
  return _NopState.getLocal(context, group) ??
      _findFromRouteOrCurrent<T>(context,
          group: group, useNopGroup: useNopGroup);
}