ParentDataElement<T extends ParentData> constructor Null safety

ParentDataElement<T extends ParentData>(
  1. ParentDataWidget<T> widget
)

Creates an element that uses the given widget as its configuration.

Implementation

ParentDataElement(ParentDataWidget<T> widget) : super(widget);