hint text font flutter code example
Example 1: text fieldform color flutter
TextField(
style: TextStyle(color: Colors.red),
decoration: InputDecoration(fillColor: Colors.orange, filled: true),
)
Example 2: text field placeholder color flutter theme
ThemeData(
// (...)
hintStyle: TextStyle(
color: Colors.grey, // <-- Change this
fontSize: null,
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
),
);