mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
## Description This PR fixes `InpuDecorator` not applying `InputDecoration.errorStyle` to `InputDecoration.error`. ## Before Text from `InputDecoration.error` is not styled correctly: <img width="239" height="75" alt="image" src="https://github.com/user-attachments/assets/9b27e029-f431-4448-9d2c-9a28f52087f8" /> ## After Text from `InputDecoration.error` is styled correctly: <img width="239" height="75" alt="image" src="https://github.com/user-attachments/assets/9b0ac7da-4933-4ee8-a3ae-d7b4db7ca218" /> ## Related Issue Fixes [InputDecorator does not apply errorStyle to error](https://github.com/flutter/flutter/issues/174784) ## Tests Adds 1 test.