Fix InputDecorator suffixIcon color when in error and hovered (#149643)
## Description This PRs makes the `InputDecoration.suffixIcon` color compliant with the M3 spec when in error state and hovered. From M3 spec, the color should be `onErrorContainer`, see https://m3.material.io/components/text-fields/specs#e4964192-72ad-414f-85b4-4b4357abb83c  ## Related Issue Fixes https://github.com/flutter/flutter/issues/149410. ## Tests Updates 2 tests.
This commit is contained in:
@@ -252,6 +252,7 @@ md.comp.filled-text-field.error.focus.trailing-icon.color,
|
||||
md.comp.filled-text-field.error.hover.active-indicator.color,
|
||||
md.comp.filled-text-field.error.hover.label-text.color,
|
||||
md.comp.filled-text-field.error.hover.supporting-text.color,
|
||||
md.comp.filled-text-field.error.hover.trailing-icon.color,
|
||||
md.comp.filled-text-field.error.label-text.color,
|
||||
md.comp.filled-text-field.error.leading-icon.color,
|
||||
md.comp.filled-text-field.error.supporting-text.color,
|
||||
|
||||
|
Reference in New Issue
Block a user