widget property Null safety

ParentDataWidget<T> widget
override

The configuration for this element.

Implementation

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