fix: give default text style to error indicator rich text (#5801)
This commit is contained in:
parent
e4bcda57f6
commit
d9eaf58f05
1 changed files with 2 additions and 0 deletions
|
|
@ -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: [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue