TextSpanBuilder class abstract

原SpecialTextSpanBuilder不满足link、@标识前后没有空格的情况且结束标识不能通过正则来匹配且开始与结束标识不符;

Implementers

Constructors

TextSpanBuilder()

Properties

customCall OnCustomWordCall?
getter/setter pair
customIndexList Iterable<int>?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
lineSpacingSize double
getter/setter pair
referenceMap Map<int, String>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spanStyleMap Map<int, TextSpanStyle>
getter/setter pair

Methods

build(String data, {TextStyle? textStyle, SpecialTextGestureTapCallback? onTap}) TextSpan
createSpecialText(String flag, {TextStyle? textStyle, SpecialTextGestureTapCallback? onTap, required int index}) → SpecialText?
inherited
findSpecialText({String data, String textStack, int index, TextStyle? textStyle, SpecialTextGestureTapCallback? tapCallback}) EySpecialText?
找到符合条件的文本
findStartSpecialText(SpecialTextGestureTapCallback? tapCallback) EySpecialText?
getChildTextSpan(List<InlineSpan> inlineList, String elementText, TextStyle? textStyle, SpecialTextGestureTapCallback? onTap, int count) → void
isStart(String value, String startFlag) bool
start with SpecialText
inherited
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