createElement method Null safety

  1. @override
ListWheelElement createElement()
override

RenderObjectWidgets always inflate to a RenderObjectElement subclass.

Implementation

@override
ListWheelElement createElement() => ListWheelElement(this);