flutter-emoji-selector
一個 Flutter 表情符號選擇器。
- 星標
- 5
- 分支
- 12
- 最近推送(UTC)
- 2025年3月23日
- 專案狀態
- 未封存
原始 README
以下為英文專案原文快照,最新內容請造訪 GitHub。
Emoji Selector
Emoji Selector is an emoji picker component for Flutter.
Getting Started
Declare dependency in your pubspec.yaml
dependencies:
emoji_selector: ^0.0.6
[Optional] If you need support for Plattfroms that don't have the Apple Color Emoji font installed (e.g. Linux, Web, ...), download Noto Emoji Font from https://github.com/googlefonts/noto-emoji) and add it to your pubspec.yaml:
flutter:
fonts:
- family: Noto Emoji
fonts:
- asset: fonts/NotoEmoji/NotoEmoji.ttf
You can then easily embed the Emoji Selector Widget anywhere in your application:
EmojiSelector(
onSelected: (emoji) {
print('Selected emoji ${emoji.char}');
},
),
You will receive a callback with an EmojiData object represented the emoji picked by the user.
class EmojiData {
final String id;
final String name;
final String unified;
final String char;
final String category;
final int skin;
}
When the emoji is qualified with a skin tone, both unified and char contains the qualifed values.
The skin parameter goes from 0 to 6, 0 representing no skin tone applied. 1 is then the lighter skin tone and 6 the darkest.
How to use as a keyboard
You can use a modal sheet to simulate a keyboard.
return showModalBottomSheet(
context: context,
builder: (BuildContext subcontext) {
return SizedBox(
height: 256,
child: EmojiSelector(
onSelected: (emoji) {
Navigator.of(subcontext).pop(emoji);
},
),
);
},
);
分類
使用的依賴
依賴清單 2 項
- flutter
{"sdk":"flutter"} - flutter_test開發依賴
{"sdk":"flutter"}
如何選擇適合專案的儲存庫?
先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
- 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
- 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
- 使用前在 GitHub 確認 README、授權條款與 Issues。
來源與維護
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗

