📜  在文本字段中颤动文本替换 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:53.108000             🧑  作者: Mango

代码示例1
final _newValue = "New value";
_controller.value = TextEditingValue(
      text: _newValue,
      selection: TextSelection.fromPosition(
        TextPosition(offset: _newValue.length),
      ),
    );