twemoji

Creator: coderz1093

Last updated:

0 purchases

twemoji Image
twemoji Images
Add to Cart

Description:

twemoji

twemoji #
Twitter Emojis for Flutter, this package supports svg and png 72x72 emojis
Usage #
Twemoji widget for a single emoji
Twemoji(
emoji: 'πŸ•',
height: 50,
width: 50,
)
copied to clipboard
TwemojiText returns a widget with rendered text with twitter emojis
TwemojiText(
text: 'wow πŸ’»πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» ',
),
copied to clipboard
TwemojiTextSpan with RichText and it will render the text with twitter Emojies
RichText(
text: TwemojiTextSpan(
text: 'Text πŸ•πŸ”πŸŒ­πŸΏπŸ§‚πŸ₯“πŸ₯¨πŸ₯πŸžπŸ₯žπŸ₯ž',
style: Theme.of(context).textTheme.headline6,
),
)
copied to clipboard
Including specific emojis #
By default the library includes support for all emojis. To reduce bundle size and only build the emojis your application requires, specify a list of them in your pubspec.yaml:
twemoji:
includes: 'πŸ‘©β€πŸ‘©β€πŸ‘§β€πŸ‘§πŸ‘πŸ‘'
copied to clipboard
Then call flutter pub run twemoji:include_emojis to have it filter down the list of emojis to generate assets for.
Screenshot

TODO

βœ… Add SVG support
βœ… Find a way to get an emoji code. For example: πŸ˜€ => "1F600"
❌ Extend Textfield widget to support twemoji

About
twemoji: https://twemoji.twitter.com/

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.