We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e36ed8e commit 398e2b9Copy full SHA for 398e2b9
lib/widgets/content.dart
@@ -830,10 +830,11 @@ class MathBlock extends StatelessWidget {
830
831
@override
832
Widget build(BuildContext context) {
833
+ final contentTheme = ContentTheme.of(context);
834
return _CodeBlockContainer(
- borderColor: ContentTheme.of(context).colorMathBlockBorder,
835
+ borderColor: contentTheme.colorMathBlockBorder,
836
child: Text.rich(TextSpan(
- style: ContentTheme.of(context).codeBlockTextStyles.plain,
837
+ style: contentTheme.codeBlockTextStyles.plain,
838
children: [TextSpan(text: node.texSource)])));
839
}
840
0 commit comments