twemoji_v2 0.6.0 twemoji_v2: ^0.6.0 copied to clipboard
Twemoji for Flutter!
twemoji_v2 - Twemoji for Flutter! #
Originally maintained by hadi-codes, extended to support Twemoji 15.1.0!
Based on jdecked's fork of twemoji (v15.1.0)
Important
This package was renamed to flutter_twemoji
. This will receive no further updates. Please use the new package name.
Usage #
Display a Single Emoji #
Use the Twemoji Widget to display individual emojis.
Twemoji(
emoji: 'π',
height: 50,
width: 50,
)
Render Text with Emojis #
The TwemojiText Widget allows you to render text with embedded Twemoji.
TwemojiText(
text: 'Flutter is awesome π',
)
Rich Text with Emojis #
Combine the TwemojiTextSpan with RichText to create rich text content with emojis.
RichText(
text: TwemojiTextSpan(
text: 'Text ππππΏπ§π₯π₯¨π₯ππ₯π₯',
style: Theme.of(context).textTheme.headline6,
),
)