Bruno Leroux c0360ee0c9
Fix InputDecoration does not apply errorStyle to error (#174787)
## 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.
2025-09-18 06:37:46 +00:00
..
2025-07-22 17:51:20 +00:00

Flutter

Flutter is a new way to build high-performance, cross-platform mobile, web, and desktop apps. Flutter is optimized for today's — and tomorrow's — mobile and desktop devices. We are focused on low-latency input and high frame rates on all platforms.

See the getting started guide for information about using Flutter.