createElement method
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() {
var model = ViewModel.of<T>();
if (model == null) {
model = initModel();
ViewModel._cached[T] = model;
}
return _ViewWidgetElement(this, model);
}