maybeOf<T extends Presenter<dynamic, AlfreedView> , M> static method
PresenterInherited<T, M> ?
maybeOf<T extends Presenter<dynamic, AlfreedView> , M>(
- BuildContext context
Find the closest PresenterInherited above the current widget
Implementation
static PresenterInherited<T, M>? maybeOf<T extends Presenter, M>(
BuildContext context,
) =>
context.dependOnInheritedWidgetOfExactType<PresenterInherited<T, M>>();