twemoji
Flutter用のTwitter絵文字、このパッケージはsvgおよびpng形式の72x72絵文字をサポートしています
- スター
- 14
- フォーク
- 14
- 最終プッシュ(UTC)
- 2024/06/17
- プロジェクト状態
- 公開中
元の README
以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
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
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/
カテゴリー
使用している依存関係
依存関係一覧 7 件
- characters
^1.1.0 - flutter
{"sdk":"flutter"} - flutter_svg
^1.0.0 - io
^1.0.3 - path
^1.8.0 - yaml
^3.1.0 - flutter_test開発用
{"sdk":"flutter"}
プロジェクトに合うリポジトリを選ぶには?
用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。
- 名前・作者・説明で検索し、技術トピックで絞り込みます。
- スター、フォーク、最近のプッシュを比較します。スターは関心の目安であり、品質の保証ではありません。
- 利用前に GitHub で README、ライセンス、Issues を確認します。
情報源と管理
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗