LinkRichModel class Null safety

富文本模型

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.
read-onlyinherited
hasSpecialStr bool
文案中是否有特殊字符串
read-only
linkStyle TextStyle?
链接的样式
final
norStyle TextStyle
文案样式
read-only
onTapSpecialStr TapSpecialStrCallback?
点击特殊字符串回调
final
regExpStrs List<RegExpStr>?
正则特殊字符串模型
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
specialStrs List<SpecialStr>?
特殊字符串模型
read / write
style TextStyle?
要显示文本的样式
final
text String
要显示的文本
final
textSpan TextSpan
生成的TextSpan
read-only

Methods

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

Operators

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