twemoji 0.2.3
twemoji: ^0.2.3 copied to clipboard

Twitter Emojis for Flutter, this package supports svg and png 72x72 emojis

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,
)

TwemojiText returns a widget with rendered text with twitter emojis

TwemojiText(
  text: 'wow πŸ’»πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» ',
),

TwemojiTextSpan with RichText and it will render the text with twitter Emojies

RichText(
  text: TwemojiTextSpan(
  text: 'Text πŸ•πŸ”πŸŒ­πŸΏπŸ§‚πŸ₯“πŸ₯¨πŸ₯πŸžπŸ₯žπŸ₯ž',
  style: Theme.of(context).textTheme.headline6,
  ),
)

Screenshot

Demo

Limitation The svg emojis will not work on flutter html web renderer because the flutter_svg package does not support it

TODO

  • [x] Add SVG support
  • [x] Find a way to get an emoji code. For example: πŸ˜€ => "1F600"
  • [ ] Extend Textfield widget to support twemoji

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

14
likes
120
pub points
71%
popularity

Publisher

hadi.wtf

Twitter Emojis for Flutter, this package supports svg and png 72x72 emojis

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, flutter_svg

More

Packages that depend on twemoji