Closed felixferr closed 1 year ago
See #1262. Here's the updated example:
extensions: [
WrapTagExtension(
tagsToWrap: {'table'},
builder: (child) {
return SingleChildScrollView(
scrollDirection: Axis.horizontal,
child: child,
);
}
),
],
I already tried this example but this tell me The method 'WrapTagExtension' isn't defined for the type 'AppTextHtm
Yes, that is because it will be in the next beta @felixferr. Anyway @Sub6Resources any update on this?
3.0.0-beta.2 was just released, which includes the WrapTagExtension
. Sorry for the delay!
same error with the latest release 3.0.0-beta.2, it works fine with you ?
Yes it works fine for me. Maybe check your pubspec.lock or run a flutter clean
and then a flutter pub get
?
The WrapTagExtension does not seem to work as expected. The SingleChildScrollView does not seem to scroll the table. Could you confirm this issue @Sub6Resources
It's worked for me every time I've tried it. Can someone produce a minimal reproducible example of the issue?
in beta2 I founded
TagWrapExtension
not WrapTagExtension
I'm facing this same issue. Any new updates related to this?
Type question here. How to adapt this code with the new parameter extension ? customRender: { "table": (context, child) { return SingleChildScrollView( scrollDirection: Axis.horizontal, child: (context.tree as TableLayoutElement).toWidget(context), ); }, }, A picture of a cute animal (not mandatory but encouraged)