maybeAppContext property

AppContext? get maybeAppContext

The application context installed by the nearest App, when present.

Implementation

AppContext? get maybeAppContext =>
    dependOnInheritedWidgetOfExactType<_AppContextScope>()?.context;