storageContext property Null safety

BuildContext storageContext
override

The BuildContext that should be used when searching for a PageStorage.

This context is typically the context of the scrollable widget itself. In particular, it should involve any GlobalKeys that are dynamically created as part of creating the scrolling widget, since those would be different each time the widget is created.

Implementation

@override
BuildContext get storageContext => context;