Fix InputDecorator.prefixIcon color when disabled (#149595)
## Description This PRs makes the `InputDecoration.prefixIcon` color compliant with the M3 spec. From M3 spec, the color should be `onSurface.withOpacity(0.38)`, see https://m3.material.io/components/text-fields/specs#e4964192-72ad-414f-85b4-4b4357abb83c  ## Related Issue Fixes https://github.com/flutter/flutter/issues/149411. ## Tests Updates 2 tests.
This commit is contained in:
@@ -238,6 +238,8 @@ md.comp.filled-text-field.disabled.container.color,
|
||||
md.comp.filled-text-field.disabled.container.opacity,
|
||||
md.comp.filled-text-field.disabled.label-text.color,
|
||||
md.comp.filled-text-field.disabled.label-text.opacity,
|
||||
md.comp.filled-text-field.disabled.leading-icon.color,
|
||||
md.comp.filled-text-field.disabled.leading-icon.opacity,
|
||||
md.comp.filled-text-field.disabled.supporting-text.color,
|
||||
md.comp.filled-text-field.disabled.supporting-text.opacity,
|
||||
md.comp.filled-text-field.disabled.trailing-icon.color,
|
||||
|
||||
|
Reference in New Issue
Block a user