LinkRichModel class

富文本模型

Constructors

LinkRichModel(String text, {TextStyle? style, TextStyle? linkStyle, List<SpecialStr>? specialStrs, List<RegExpStr>? regExpStrs, TapSpecialStrCallback? onTapSpecialStr})

Properties

hashCode int
The hash code for this object.
no setterinherited
hasSpecialStr bool
文案中是否有特殊字符串
no setter
linkStyle TextStyle?
链接的样式
final
norStyle TextStyle
文案样式
no setter
onTapSpecialStr TapSpecialStrCallback?
点击特殊字符串回调
getter/setter pair
regExpStrs List<RegExpStr>?
正则特殊字符串模型
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
specialStrs List<SpecialStr>?
特殊字符串模型
getter/setter pair
style TextStyle?
要显示文本的样式
final
text String
要显示的文本
final
textSpan TextSpan
生成的TextSpan
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited