how to move cusor to end textfield flutter through controller code example
Example: flutter texteditingcontroller cursor position
controller.text = someString;
controller.selection = TextSelection.fromPosition(TextPosition(offset: controller.text.length));