I am new in flutter. How to change the text's color inside the TextField in Flutter?
CodePudding user response:
Try this:
TextField(
style: TextStyle(
color: Colors.grey, // Change your color here!
),
),
CodePudding user response:
look at this,
TextField(
style: TextStyle(color: Colors.red),
decoration: InputDecoration(fillColor: Colors.orange, filled: true),
)
Here text color is red
and the background color is orange.