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