out_of_context library Null safety

Context-free navigation & scaffolds in Flutter.

Classes

Keyed<T extends State<StatefulWidget>>
A class that contains a GlobalKey of the type, T.
A wrapper for Navigator that does not require a BuildContext.

Mixins

A mixin that provides a Navigation.
ScaffoldMixin
A mixin that provides a ScaffoldState without a BuildContext.

Properties

scaffoldGlobalKey GlobalKey<ScaffoldState>
@visibleForTesting, read / write