tagnote-app / markdown_viewer

A Markdown viewer widget for Flutter. It renders Markdown string to rich text output.
BSD 3-Clause "New" or "Revised" License
13 stars 11 forks source link

The getter 'bodyText2' isn't defined for the class 'TextTheme'. #94

Open AbdoPrDZ opened 1 month ago

AbdoPrDZ commented 1 month ago

flutter run -v

[+37646 ms] [+48727 ms] ../../../../AppData/Local/Pub/Cache/hosted/pub.dev/markdown_viewer-0.6.2/lib/src/renderer.dart:50:49: Error: The getter 'bodyText2' isn't defined for the class 'TextTheme'.
[  +44 ms] [  +30 ms]  - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../../../AppData/Local/Programs/flutter/packages/flutter/lib/src/material/text_theme.dart').
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'bodyText2'.
[        ] [        ]                   ? Theme.of(context).textTheme.bodyText2?.color
EricApostal commented 1 month ago

@AbdoPrDZ Any update on this? I've also been getting this issue.