但无法在TextinputLayout中自定义EditText的下划线颜色。请帮帮忙。我试过这个how to change color of TextinputLayout's edittext underline android和那些(Material) EditText underlineapp:hintTextAppearance="@style/TextAppearence.App.TextInputLayoutLight">
当文本字段处于非活动/未聚焦状态时,我正在尝试更改文本字段的下划线颜色。我不知道该在哪里进行更改,InputDecorationTheme只会在选中时更改下划线颜色。我该如何实现这一点?200], hintStyle: new TextStyle(color: Colors.grey),当文本字段未被选中/焦点
如果你看一下包装在TextInputLayout中的EditText,EditText的默认文本提示颜色和线条颜色与样式中定义的颜色textPrimaryColor相同。但是,当EditText接收到焦点时,线条变成了样式中定义的accent的颜色,提示经过浮动提示动画并更改为accent颜色。) editText.getBackground().setColorFilter(accent, Por