xxxxxxxxxx
TextField(
style: TextStyle(color: Colors.red),
)
xxxxxxxxxx
TextField(
style: TextStyle(color: Colors.red),
decoration: InputDecoration(fillColor: Colors.orange, filled: true),
)
xxxxxxxxxx
TextField(
decoration: InputDecoration(
labelText: 'Email',
labelStyle: TextStyle(
color: Colors.deepPurpleAccent, //<-- SEE HERE
),
),
),
)
xxxxxxxxxx
Container(
color: Colors.green, // Set the background color here
child: TextField(
decoration: InputDecoration(
hintText: 'Enter text',
),
),
),