Answers for "flutter text replace in a textfield"

0

flutter text replace in a textfield

final _newValue = "New value";
_controller.value = TextEditingValue(
      text: _newValue,
      selection: TextSelection.fromPosition(
        TextPosition(offset: _newValue.length),
      ),
    );
Posted by: Guest on November-24-2020

Code answers related to "flutter text replace in a textfield"

Browse Popular Code Answers by Language