MPFlutterChart
MPFlutterChart copied to clipboard
type 'TextSpan' is not a subtype of type 'String' issue
There was an error on painter_utils.dart file at line #15.
I added ".toPlainText()" to end of line #15
if (painter.text != null && (painter.text is TextSpan)) { var preText = painter.text.toPlainText();
it is working for me now
Just ran into the same issue, thanks for this!
Same issue here, after upgrading to flutter 2, i can't build project due to this problem
@keskink how do u fix it, in my case, it is the external library file PainterUtils.dart