createElement method
override
Creates a StatefulElement to manage this widget's location in the tree.
It is uncommon for subclasses to override this method.
Implementation
@override
StatefulElement createElement() => StatefulElement(this);
Creates a StatefulElement to manage this widget's location in the tree.
It is uncommon for subclasses to override this method.
@override
StatefulElement createElement() => StatefulElement(this);