finishText method
finish SpecialText
Implementation
@override
InlineSpan finishText() {
var content = getContent();
return SpecialTextSpan(
text: content,
actualText: content,
start: start ?? 0,
style: textStyle,
recognizer: (TapGestureRecognizer()
..onTap = () {
if (tapCallback != null) {
var map = extrasMap ?? HashMap<String, dynamic>();
map[colorKey] = content;
tapCallback!(map);
}
}));
}