widget property Null safety

RenderObjectWidget widget
override

The configuration for this element.

Implementation

@override
RenderObjectWidget get widget => super.widget as RenderObjectWidget;