cursor remains at start when i input text in textfield with textcontroller flutter code example
Example: flutter textfield cursor position
controller.text = someString;
controller.selection = TextSelection.fromPosition(TextPosition(offset: controller.text.length));