Describe the bug:
When rendering a base64 image inside an anchor element an exception is thrown. It seems to happen only with html renderer on some devices. There's no exception if I remove the enclosing anchor.
Device details and Flutter/Dart/flutter_html versions:
Chrome 103 on Samsung A50 with Android 9
flutter_html 3.0.0-alpha.5
Stacktrace/Logcat
NoSuchMethodError: method not found: 'start' on null
at LineBuilder._popSegment$0
at LineBuilder.revertToLastBreakOpportunity$0
at TextLayoutService.performLayout$1
at CanvasParagraph.layout$1
at TextPainter._layoutParagraph$2
at TextPainter.layout$2$maxWidth$minWidth
at RenderParagraph._paragraph$_layoutText$2$maxWidth$minWidth
at RenderParagraph._layoutTextWithConstraints$1
at RenderParagraph.performLayout$0
at RenderParagraph.layout$2$parentUsesSize
I'm having a hard time reproducing this issue. It's possible it was a Flutter bug that has since been fixed? What Flutter version were you using? Any pattern in the devices that are affected?
Describe the bug: When rendering a base64 image inside an anchor element an exception is thrown. It seems to happen only with html renderer on some devices. There's no exception if I remove the enclosing anchor.
HTML to reproduce the issue:
Html
widget configuration:Expected behavior: No exception raised
Device details and Flutter/Dart/
flutter_html
versions:Stacktrace/Logcat