flutter textfield cursor color code example
Example 1: flutter textfield cursor color
MaterialApp(
theme: ThemeData(
cursorColor: Colors.red,
)
);
Example 2: flutter textfield label color
labelStyle: TextStyle(
color: Colors.white,
)