Answers for "flutter textfield cursor color and position"

0

flutter textfield cursor color

MaterialApp(
    theme: ThemeData(
        cursorColor: Colors.red,
        )
    );
Posted by: Guest on September-27-2020
0

flutter textfield cursor position

controller.text = someString;
controller.selection = TextSelection.fromPosition(TextPosition(offset: controller.text.length));
Posted by: Guest on December-09-2020

Code answers related to "flutter textfield cursor color and position"

Browse Popular Code Answers by Language