functions library

Functions

extractCashtags(String value) List<String>
Extract cashtags ($SYMBOL) from the text
extractHashTags(String value) List<String>
Extract hashTags from the text
extractMentions(String value) List<String>
Extract mentions (@username) from the text
getHashTagTextSpan({required TextStyle decoratedStyle, required TextStyle basicStyle, required String source, dynamic onTap(String)?, bool decorateAtSign = false, bool decorateCashtag = false, List<String>? customPrefixes}) TextSpan
Returns textSpan with decorated tagged text
hasCashtags(String value) bool
Check if the text has cashtags ($)
hasHashTags(String value) bool
Check if the text has hashTags
hasMentions(String value) bool
Check if the text has mentions (@)