setText method

void setText(
  1. String text
)

Implementation

void setText(String text) {
  _refresh(text);
  widget.controller?.text = text;
  widget.controller?.selection = TextSelection.collapsed(offset: text.length);
}