I am working in the styles of my app, i am not able to change the color of the input of the TextField
, there isn't any property to change it.
Theme(
data: new ThemeData(
hintColor: Colors.white
),
child:
TextField(
focusNode: _focusUsername,
controller: _controller,
decoration: InputDecoration(
border: InputBorder.none,
fillColor: Colors.grey,
filled: true,
hintText: 'Username',
))),
You can assign a TextStyle
.
TextField(
style: TextStyle(color: Colors.white),
...
)