-
Notifications
You must be signed in to change notification settings - Fork 492
New issue
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
[BUG]提示:_createTextSpan(xmlEvent.value, tag) #519
Comments
你好,请参照模版补充 flutter sdk 版本等相关信息,以便我们排查 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题提交
标题格式:[BUG]: flutter项目启动报错
内容需包含:
if (xmlEvent is xml.XmlTextEvent) {
_Tag tag = _Tag();
tag.style = style.copyWith();
if (stack.isNotEmpty) {
tag = stack.last;
}
TextSpan textSpan = _createTextSpan(xmlEvent.value, tag);
spans.add(textSpan);
}
源码这一段有错,XmlTextEvent这个类中,属性明明是text,但是却引用了xmlEvent.value,所以导致异常,本人项目自己改成xmlEvent.text以后就正常了。
The text was updated successfully, but these errors were encountered: