coderDude
0
Q:

flutter textfield label color

ThemeData( 
  // (...)
  hintStyle: TextStyle(
     color: Colors.grey, // <-- Change this
     fontSize: null,
     fontWeight: FontWeight.w400,
     fontStyle: FontStyle.normal,
     ),
);
1
TextField(
  style: TextStyle(color: Colors.red),
  decoration: InputDecoration(fillColor: Colors.orange, filled: true),
)
1
labelStyle: TextStyle(
	color: Colors.white,
)
0
TextField(
  style: TextStyle(color: Colors.white),
  ...
)
0

New to Communities?

Join the community