We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HtmlWidget( ''' 内联块级标签内容(强制不换行)行内标签内容(自动不换行) ''', customWidgetBuilder: (context) { print('element=============$context'); final document = parse(context.innerHtml); final element = document.getElementsByTagName('spantex');
final tag = context.localName; final attributes = context.attributes; if (tag == 'span') { return Text( '文本内容', softWrap: false, ); } return null; }, );
The text was updated successfully, but these errors were encountered:
Sorry, I don't speak Korean.
Sorry, something went wrong.
After rendering with customWidgetBuilder, there was a line break
If you want to keep the new widget on the same line, it should be possible to wrap your Text widget inside a InlineCustomWidget.
Text
InlineCustomWidget
Ah, I just saw your new #1425. I will close this one.
daohoangson
No branches or pull requests
HtmlWidget(
'''
内联块级标签内容(强制不换行)行内标签内容(自动不换行)
''',
customWidgetBuilder: (context) {
print('element=============$context');
final document = parse(context.innerHtml);
final element = document.getElementsByTagName('spantex');
The text was updated successfully, but these errors were encountered: