widget property Null safety

RenderObjectToWidgetAdapter<T> widget
override

The configuration for this element.

Implementation

@override
RenderObjectToWidgetAdapter<T> get widget => super.widget as RenderObjectToWidgetAdapter<T>;