notificationContext property

  1. @override
BuildContext? notificationContext
override

The BuildContext that should be used when dispatching ScrollNotifications.

This context is typically different that the context of the scrollable widget itself. For example, Scrollable uses a context outside the Viewport but inside the widgets created by ScrollBehavior.buildOverscrollIndicator and ScrollBehavior.buildScrollbar.

Implementation

@override
BuildContext? get notificationContext => _gestureDetectorKey.currentContext;