fix: give default text style to error indicator rich text (#5801)

This commit is contained in:
ggurdin 2026-02-24 15:52:48 -05:00 committed by GitHub
parent e4bcda57f6
commit d9eaf58f05
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -20,6 +20,8 @@ class ErrorIndicator extends StatelessWidget {
@override
Widget build(BuildContext context) {
final defaultStyle = DefaultTextStyle.of(context).style;
final style = defaultStyle.merge(this.style ?? defaultStyle);
final content = RichText(
text: TextSpan(
children: [