initializeElement method

  1. @override
void initializeElement()
override

Called when this Node is added to the tree or after the widget is updated.

Implementation

@override
void initializeElement() {
  super.initializeElement();
  element.text = widget.value;
}