findwithContext<T> static method

T? findwithContext<T>(
  1. BuildContext context
)

Implementation

static T? findwithContext<T>(BuildContext context) {
  final nop = context.dependOnInheritedWidgetOfExactType<_NopScoop>()!;
  return nop.state.findTypeArg<T>();
}