textcursor going in end in suffix code example
Example: flutter texteditingcontroller cursor position
controller.text = someString;
controller.selection = TextSelection.fromPosition(TextPosition(offset: controller.text.length));
controller.text = someString;
controller.selection = TextSelection.fromPosition(TextPosition(offset: controller.text.length));