hinttext color flutter code example
Example 1: text field placeholder color flutter theme
ThemeData(
// (...)
hintStyle: TextStyle(
color: Colors.grey, // <-- Change this
fontSize: null,
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
),
);
Example 2: flutter textfield label color
labelStyle: TextStyle(
color: Colors.white,
)