context property Null safety

BuildContext context
final

The build context of the widget that fired this notification.

This can be used to find the sheet's render objects to determine the size of the viewport, for instance. A listener can only assume this context is live when it first gets the notification.

Implementation

final BuildContext context;