createSpecialText method
SpecialText?
createSpecialText(})
Implementation
@override
SpecialText? createSpecialText(String flag,
{TextStyle? textStyle,
SpecialTextGestureTapCallback? onTap,
int? index}) {
if (flag == '') {
return null;
}
if (flag.endsWith('[')) {
return EmojiText(textStyle, start: index! - (EmojiText.flag.length - 1));
}
return null;
}