File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -330,7 +330,8 @@ Widget html = Html(
330330 tableMatcher(): CustomRender.widget(widget: (context, child) {
331331 return SingleChildScrollView(
332332 scrollDirection: Axis.horizontal,
333- child: (context.tree as TableLayoutElement).toWidget(context),
333+ // this calls the table CustomRender to render a table as normal (it uses a widget so we know widget is not null)
334+ child: tableRender.call().widget!.call(context, buildChildren),
334335 );
335336 }),
336337 },
Original file line number Diff line number Diff line change @@ -104,8 +104,7 @@ class SelectableCustomRender extends CustomRender {
104104
105105CustomRender blockElementRender ({
106106 Style ? style,
107- Widget ? child,
108- List <InlineSpan >? children,}) =>
107+ List <InlineSpan >? children}) =>
109108 CustomRender .inlineSpan (inlineSpan: (context, buildChildren) {
110109 if (context.parser.selectable) {
111110 return TextSpan (
You can’t perform that action at this time.
0 commit comments