FLUTTER ECOSYSTEM

hadi-codes/twemoji

Flutter के लिए ट्विटर इमोजी, इस पैकेज में svg और png 72x72 इमोजी सपोर्ट है

twemoji प्रोजेक्ट कवर
Stars
14
Forks
14
अंतिम पुश (UTC)
17 जून 2024
प्रोजेक्ट स्थिति
सक्रिय
Hadi GitHub avatar
GITHUB User

Hadi ↗

Berlin
भाषाएँDartHTMLSwiftKotlinObjective-C

तकनीकी विषय

उपयोग की गई निर्भरताएँ

निर्भरता सूची 7 आइटम

मूल README

यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।

README खोलें / बंद करें

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

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: '👩‍👩‍👧‍👧👏👍'

Then call flutter pub run twemoji:include_emojis to have it filter down the list of emojis to generate assets for.

Screenshot

Demo

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/