social_text library

Classes

SocialParser
A simple RegExp-based parser that extracts social tokens like @mentions and #hashtags from a given text.
SocialText
Displays text with social tokens (e.g., @mentions, #hashtags) parsed and stylable per trigger. Tokens are optionally tappable and long-pressable.
SocialToken
Represents a detected social token like @mention or #hashtag.

Typedefs

SocialTokenTap = void Function(SocialToken token)