flutter textfield change underline color code example
Example 1: flutter text form field change underline color
decoration: InputDecoration(
enabledBorder: UnderlineInputBorder(
borderSide: BorderSide(color: theColor),
),
focusedBorder: UnderlineInputBorder(
borderSide: BorderSide(color: theColor),
),
border: UnderlineInputBorder(
borderSide: BorderSide(color: theColor),
),
)
Example 2: flutter textfield label color
labelStyle: TextStyle(
color: Colors.white,
)