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(
330
330
tableMatcher(): CustomRender.widget(widget: (context, child) {
331
331
return SingleChildScrollView(
332
332
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),
334
335
);
335
336
}),
336
337
},
Original file line number Diff line number Diff line change @@ -104,8 +104,7 @@ class SelectableCustomRender extends CustomRender {
104
104
105
105
CustomRender blockElementRender ({
106
106
Style ? style,
107
- Widget ? child,
108
- List <InlineSpan >? children,}) =>
107
+ List <InlineSpan >? children}) =>
109
108
CustomRender .inlineSpan (inlineSpan: (context, buildChildren) {
110
109
if (context.parser.selectable) {
111
110
return TextSpan (
You can’t perform that action at this time.
0 commit comments