Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

feat: move emoji_picker to appflowy editor plugin

Lucas.Xu15e3d3b4869f
diff --git a/frontend/app_flowy/packages/appflowy_editor/example/lib/pages/simple_editor.dart b/frontend/app_flowy/packages/appflowy_editor/example/lib/pages/simple_editor.dart
index 1eca47a1b4..f8214d9b03 100644
--- a/frontend/app_flowy/packages/appflowy_editor/example/lib/pages/simple_editor.dart
+++ b/frontend/app_flowy/packages/appflowy_editor/example/lib/pages/simple_editor.dart
@@ -59,6 +59,8 @@ class SimpleEditor extends StatelessWidget {
mathEquationMenuItem,
// Code Block
codeBlockMenuItem,
+ // Emoji
+ emojiMenuItem,
],
);
} else {
diff --git a/frontend/app_flowy/packages/appflowy_editor/example/linux/flutter/generated_plugin_registrant.cc b/frontend/app_flowy/packages/appflowy_editor/example/linux/flutter/generated_plugin_registrant.cc
index 00fd3bc03f..c6b2120aa0 100644
--- a/frontend/app_flowy/packages/appflowy_editor/example/linux/flutter/generated_plugin_registrant.cc
+++ b/frontend/app_flowy/packages/appflowy_editor/example/linux/flutter/generated_plugin_registrant.cc
@@ -6,10 +6,14 @@
#include "generated_plugin_registrant.h"
+#include <flowy_infra_ui/flowy_infra_u_i_plugin.h>
#include <rich_clipboard_linux/rich_clipboard_plugin.h>
#include <url_launcher_linux/url_launcher_plugin.h>
void fl_register_plugins(FlPluginRegistry* registry) {
+ g_autoptr(FlPluginRegistrar) flowy_infra_ui_registrar =
+ fl_plugin_registry_get_registrar_for_plugin(registry, "FlowyInfraUIPlugin");
+ flowy_infra_u_i_plugin_register_with_registrar(flowy_infra_ui_registrar);
g_autoptr(FlPluginRegistrar) rich_clipboard_linux_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "RichClipboardPlugin");
rich_clipboard_plugin_register_with_registrar(rich_clipboard_linux_registrar);
diff --git a/frontend/app_flowy/packages/appflowy_editor/example/linux/flutter/generated_plugins.cmake b/frontend/app_flowy/packages/appflowy_editor/example/linux/flutter/generated_plugins.cmake
index 0342e3868a..cd997321ab 100644
--- a/frontend/app_flowy/packages/appflowy_editor/example/linux/flutter/generated_plugins.cmake
+++ b/frontend/app_flowy/packages/appflowy_editor/example/linux/flutter/generated_plugins.cmake
@@ -3,6 +3,7 @@
#
list(APPEND FLUTTER_PLUGIN_LIST
+ flowy_infra_ui
rich_clipboard_linux
url_launcher_linux
)
diff --git a/frontend/app_flowy/packages/appflowy_editor/example/macos/Flutter/GeneratedPluginRegistrant.swift b/frontend/app_flowy/packages/appflowy_editor/example/macos/Flutter/GeneratedPluginRegistrant.swift
index f0f250ebd6..1bc26379f4 100644
--- a/frontend/app_flowy/packages/appflowy_editor/example/macos/Flutter/GeneratedPluginRegistrant.swift
+++ b/frontend/app_flowy/packages/appflowy_editor/example/macos/Flutter/GeneratedPluginRegistrant.swift
@@ -5,12 +5,16 @@
import FlutterMacOS
import Foundation
+import flowy_infra_ui
import path_provider_macos
import rich_clipboard_macos
+import shared_preferences_macos
import url_launcher_macos
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
+ FlowyInfraUIPlugin.register(with: registry.registrar(forPlugin: "FlowyInfraUIPlugin"))
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
RichClipboardPlugin.register(with: registry.registrar(forPlugin: "RichClipboardPlugin"))
+ SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
}
diff --git a/frontend/app_flowy/packages/appflowy_editor/example/macos/Podfile.lock b/frontend/app_flowy/packages/appflowy_editor/example/macos/Podfile.lock
index 49a5879fa6..1399b50219 100644
--- a/frontend/app_flowy/packages/appflowy_editor/example/macos/Podfile.lock
+++ b/frontend/app_flowy/packages/appflowy_editor/example/macos/Podfile.lock
@@ -1,32 +1,44 @@
PODS:
+ - flowy_infra_ui (0.0.1):
+ - FlutterMacOS
- FlutterMacOS (1.0.0)
- path_provider_macos (0.0.1):
- FlutterMacOS
- rich_clipboard_macos (0.0.1):
- FlutterMacOS
+ - shared_preferences_macos (0.0.1):
+ - FlutterMacOS
- url_launcher_macos (0.0.1):
- FlutterMacOS
DEPENDENCIES:
+ - flowy_infra_ui (from `Flutter/ephemeral/.symlinks/plugins/flowy_infra_ui/macos`)
- FlutterMacOS (from `Flutter/ephemeral`)
- path_provider_macos (from `Flutter/ephemeral/.symlinks/plugins/path_provider_macos/macos`)
- rich_clipboard_macos (from `Flutter/ephemeral/.symlinks/plugins/rich_clipboard_macos/macos`)
+ - shared_preferences_macos (from `Flutter/ephemeral/.symlinks/plugins/shared_preferences_macos/macos`)
- url_launcher_macos (from `Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos`)
EXTERNAL SOURCES:
+ flowy_infra_ui:
+ :path: Flutter/ephemeral/.symlinks/plugins/flowy_infra_ui/macos
FlutterMacOS:
:path: Flutter/ephemeral
path_provider_macos:
:path: Flutter/ephemeral/.symlinks/plugins/path_provider_macos/macos
rich_clipboard_macos:
:path: Flutter/ephemeral/.symlinks/plugins/rich_clipboard_macos/macos
+ shared_preferences_macos:
+ :path: Flutter/ephemeral/.symlinks/plugins/shared_preferences_macos/macos
url_launcher_macos:
:path: Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos
SPEC CHECKSUMS:
+ flowy_infra_ui: c34d49d615ed9fe552cd47f90d7850815a74e9e9
FlutterMacOS: 57701585bf7de1b3fc2bb61f6378d73bbdea8424
path_provider_macos: 3c0c3b4b0d4a76d2bf989a913c2de869c5641a19
rich_clipboard_macos: 43364b66b9dc69d203eb8dd6d758e2d12e02723c
+ shared_preferences_macos: a64dc611287ed6cbe28fd1297898db1336975727
url_launcher_macos: 597e05b8e514239626bcf4a850fcf9ef5c856ec3
PODFILE CHECKSUM: 6eac6b3292e5142cfc23bdeb71848a40ec51c14c
diff --git a/frontend/app_flowy/packages/appflowy_editor/example/windows/flutter/generated_plugin_registrant.cc b/frontend/app_flowy/packages/appflowy_editor/example/windows/flutter/generated_plugin_registrant.cc
index 4f7884874d..f1fe1bdbdb 100644
--- a/frontend/app_flowy/packages/appflowy_editor/example/windows/flutter/generated_plugin_registrant.cc
+++ b/frontend/app_flowy/packages/appflowy_editor/example/windows/flutter/generated_plugin_registrant.cc
@@ -6,9 +6,12 @@
#include "generated_plugin_registrant.h"
+#include <flowy_infra_ui/flowy_infra_u_i_plugin.h>
#include <url_launcher_windows/url_launcher_windows.h>
void RegisterPlugins(flutter::PluginRegistry* registry) {
+ FlowyInfraUIPluginRegisterWithRegistrar(
+ registry->GetRegistrarForPlugin("FlowyInfraUIPlugin"));
UrlLauncherWindowsRegisterWithRegistrar(
registry->GetRegistrarForPlugin("UrlLauncherWindows"));
}
diff --git a/frontend/app_flowy/packages/appflowy_editor/example/windows/flutter/generated_plugins.cmake b/frontend/app_flowy/packages/appflowy_editor/example/windows/flutter/generated_plugins.cmake
index 88b22e5c77..78c9ccb4d0 100644
--- a/frontend/app_flowy/packages/appflowy_editor/example/windows/flutter/generated_plugins.cmake
+++ b/frontend/app_flowy/packages/appflowy_editor/example/windows/flutter/generated_plugins.cmake
@@ -3,6 +3,7 @@
#
list(APPEND FLUTTER_PLUGIN_LIST
+ flowy_infra_ui
url_launcher_windows
)
diff --git a/frontend/app_flowy/packages/appflowy_editor/lib/appflowy_editor.dart b/frontend/app_flowy/packages/appflowy_editor/lib/appflowy_editor.dart
index 750ba6c689..983badaaa5 100644
--- a/frontend/app_flowy/packages/appflowy_editor/lib/appflowy_editor.dart
+++ b/frontend/app_flowy/packages/appflowy_editor/lib/appflowy_editor.dart
@@ -15,6 +15,7 @@ export 'src/editor_state.dart';
export 'src/core/transform/operation.dart';
export 'src/core/transform/transaction.dart';
export 'src/render/selection/selectable.dart';
+export 'src/render/selection_menu/selection_menu_service.dart';
export 'src/service/editor_service.dart';
export 'src/service/render_plugin_service.dart';
export 'src/service/service.dart';
diff --git a/frontend/app_flowy/packages/appflowy_editor/lib/src/l10n/l10n.dart b/frontend/app_flowy/packages/appflowy_editor/lib/src/l10n/l10n.dart
index f14d1e67d6..0d464022d2 100644
--- a/frontend/app_flowy/packages/appflowy_editor/lib/src/l10n/l10n.dart
+++ b/frontend/app_flowy/packages/appflowy_editor/lib/src/l10n/l10n.dart
@@ -131,16 +131,6 @@ class AppFlowyEditorLocalizations {
);
}
- /// `Emoji`
- String get emoji {
- return Intl.message(
- 'Emoji',
- name: 'emoji',
- desc: '',
- args: [],
- );
- }
-
/// `Image`
String get image {
return Intl.message(
diff --git a/frontend/app_flowy/packages/appflowy_editor/lib/src/render/selection_menu/selection_menu_service.dart b/frontend/app_flowy/packages/appflowy_editor/lib/src/render/selection_menu/selection_menu_service.dart
index e448b1f9cc..37cd410488 100644
--- a/frontend/app_flowy/packages/appflowy_editor/lib/src/render/selection_menu/selection_menu_service.dart
+++ b/frontend/app_flowy/packages/appflowy_editor/lib/src/render/selection_menu/selection_menu_service.dart
@@ -1,15 +1,17 @@
-import 'package:appflowy_editor/src/editor_state.dart';
-import 'package:appflowy_editor/src/infra/flowy_svg.dart';
-import 'package:appflowy_editor/src/l10n/l10n.dart';
-import 'package:appflowy_editor/src/render/image/image_upload_widget.dart';
-import 'package:appflowy_editor/src/render/selection_menu/selection_menu_widget.dart';
-import 'package:appflowy_editor/src/service/default_text_operations/format_rich_text_style.dart';
-import 'package:appflowy_editor/src/render/emoji/emoji_select_widget.dart';
import 'package:flutter/material.dart';
-import 'package:appflowy_editor/src/core/legacy/built_in_attribute_keys.dart';
+
+import '../../core/legacy/built_in_attribute_keys.dart';
+import '../../editor_state.dart';
+import '../../infra/flowy_svg.dart';
+import '../../l10n/l10n.dart';
+import '../../service/default_text_operations/format_rich_text_style.dart';
+import '../image/image_upload_widget.dart';
+import 'selection_menu_widget.dart';
abstract class SelectionMenuService {
Offset get topLeft;
+ Offset get offset;
+ Alignment get alignment;
void show();
void dismiss();
@@ -27,6 +29,8 @@ class SelectionMenu implements SelectionMenuService {
OverlayEntry? _selectionMenuEntry;
bool _selectionUpdateByInner = false;
Offset? _topLeft;
+ Offset _offset = Offset.zero;
+ Alignment _alignment = Alignment.topLeft;
@override
void dismiss() {
@@ -67,6 +71,7 @@ class SelectionMenu implements SelectionMenuService {
// show below defualt
var showBelow = true;
+ _alignment = Alignment.bottomLeft;
final bottomRight = selectionRects.first.bottomRight;
final topRight = selectionRects.first.topRight;
var offset = bottomRight + menuOffset;
@@ -75,14 +80,16 @@ class SelectionMenu implements SelectionMenuService {
// show above
offset = topRight - menuOffset;
showBelow = false;
+ _alignment = Alignment.topRight;
}
_topLeft = offset;
+ _offset = Offset(offset.dx, showBelow ? offset.dy : MediaQuery.of(context).size.height - offset.dy);
_selectionMenuEntry = OverlayEntry(builder: (context) {
return Positioned(
- top: showBelow ? offset.dy : null,
+ top: showBelow ? _offset.dy : null,
bottom:
- showBelow ? null : MediaQuery.of(context).size.height - offset.dy,
+ showBelow ? null : _offset.dy,
left: offset.dx,
child: SelectionMenuWidget(
items: [
@@ -114,6 +121,16 @@ class SelectionMenu implements SelectionMenuService {
return _topLeft ?? Offset.zero;
}
+ @override
+ Alignment get alignment {
+ return _alignment;
+ }
+
+ @override
+ Offset get offset {
+ return _offset;
+ }
+
void _onSelectionChange() {
// workaround: SelectionService has been released after hot reload.
final isSelectionDisposed =
@@ -181,13 +198,6 @@ final List<SelectionMenuItem> _defaultSelectionMenuItems = [
keywords: ['image'],
handler: showImageUploadMenu,
),
- SelectionMenuItem(
- name: () => AppFlowyEditorLocalizations.current.emoji,
- icon: (editorState, onSelected) =>
- _selectionMenuIcon('image', editorState, onSelected),
- keywords: ['emoji'],
- handler: showEmojiSelectionMenu,
- ),
SelectionMenuItem(
name: () => AppFlowyEditorLocalizations.current.bulletedList,
icon: (editorState, onSelected) =>
diff --git a/frontend/app_flowy/packages/appflowy_editor_plugins/lib/appflowy_editor_plugins.dart b/frontend/app_flowy/packages/appflowy_editor_plugins/lib/appflowy_editor_plugins.dart
index 771a88720c..890208c387 100644
--- a/frontend/app_flowy/packages/appflowy_editor_plugins/lib/appflowy_editor_plugins.dart
+++ b/frontend/app_flowy/packages/appflowy_editor_plugins/lib/appflowy_editor_plugins.dart
@@ -1,12 +1,12 @@
library appflowy_editor_plugins;
+// Code Block
+export 'src/code_block/code_block_node_widget.dart';
+export 'src/code_block/code_block_shortcut_event.dart';
// Divider
export 'src/divider/divider_node_widget.dart';
export 'src/divider/divider_shortcut_event.dart';
-
+// Emoji Picker
+export 'src/emoji_picker/emoji_menu_item.dart';
// Math Equation
-export 'src/math_ equation/math_equation_node_widget.dart';
-
-// Code Block
-export 'src/code_block/code_block_node_widget.dart';
-export 'src/code_block/code_block_shortcut_event.dart';
+export 'src/math_ equation/math_equation_node_widget.dart';
\ No newline at end of file
diff --git a/frontend/app_flowy/packages/appflowy_editor/lib/src/render/emoji/emoji_select_widget.dart b/frontend/app_flowy/packages/appflowy_editor_plugins/lib/src/emoji_picker/emoji_menu_item.dart
similarity index 68%
rename from frontend/app_flowy/packages/appflowy_editor/lib/src/render/emoji/emoji_select_widget.dart
rename to frontend/app_flowy/packages/appflowy_editor_plugins/lib/src/emoji_picker/emoji_menu_item.dart
index 76443707eb..0868d4c7d0 100644
--- a/frontend/app_flowy/packages/appflowy_editor/lib/src/render/emoji/emoji_select_widget.dart
+++ b/frontend/app_flowy/packages/appflowy_editor_plugins/lib/src/emoji_picker/emoji_menu_item.dart
@@ -1,42 +1,48 @@
-import 'package:appflowy_editor/src/core/document/node.dart';
-import 'package:appflowy_editor/src/editor_state.dart';
-import 'package:appflowy_editor/src/infra/flowy_svg.dart';
-import 'package:appflowy_editor/src/render/selection_menu/selection_menu_service.dart';
-import 'package:appflowy_editor/src/render/style/editor_style.dart';
-import 'package:flutter/material.dart';
-import 'package:app_flowy/workspace/presentation/widgets/emoji_picker/src/emoji_picker.dart';
-import 'package:appflowy_editor/appflowy_editor.dart';
-
-import 'package:app_flowy/workspace/presentation/widgets/emoji_picker/src/models/emoji_model.dart';
-import 'package:app_flowy/workspace/presentation/widgets/emoji_picker/src/config.dart';
-import 'package:app_flowy/workspace/presentation/widgets/emoji_picker/src/emoji_button.dart';
-import 'dart:collection';
-import 'package:appflowy_popover/appflowy_popover.dart';
+import 'package:appflowy_editor/appflowy_editor.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
-import 'package:flutter/foundation.dart' as foundation;
-OverlayEntry? _imojiSelectionMenu;
+import 'emoji_picker.dart';
+
+SelectionMenuItem emojiMenuItem =
+ SelectionMenuItem(
+ name: () => 'emoji',
+ icon: (editorState, onSelected) => Icon(
+ Icons.emoji_emotions_outlined,
+ color: onSelected
+ ? editorState.editorStyle.selectionMenuItemSelectedIconColor
+ : editorState.editorStyle.selectionMenuItemIconColor,
+ size: 18.0,
+ ),
+ keywords: ['emoji'],
+ handler: _showEmojiSelectionMenu,
+ );
+
+OverlayEntry? _emojiSelectionMenu;
EditorState? _editorState;
-void showEmojiSelectionMenu(
+void _showEmojiSelectionMenu(
EditorState editorState,
SelectionMenuService menuService,
BuildContext context,
) {
+ final aligment = menuService.alignment;
+ final offset = menuService.offset;
menuService.dismiss();
- _imojiSelectionMenu?.remove();
- _imojiSelectionMenu = OverlayEntry(builder: (context) {
+ _emojiSelectionMenu?.remove();
+ _emojiSelectionMenu = OverlayEntry(builder: (context) {
return Positioned(
- top: menuService.topLeft.dy,
- left: menuService.topLeft.dx,
+ top: aligment == Alignment.bottomRight ? offset.dy : null,
+ bottom:
+ aligment == Alignment.topRight ? offset.dy : null,
+ left: offset.dx,
child: Material(
child: EmojiSelectionMenu(
editorState: editorState,
onSubmitted: (text) {
// insert emoji
- editorState.insertEmojiNode(text);
+ editorState.insertEmoji(text);
},
onExit: () {
_dismissEmojiSelectionMenu();
@@ -47,15 +53,15 @@ void showEmojiSelectionMenu(
);
});
- Overlay.of(context)?.insert(_imojiSelectionMenu!);
+ Overlay.of(context)?.insert(_emojiSelectionMenu!);
editorState.service.selectionService.currentSelection
.addListener(_dismissEmojiSelectionMenu);
}
void _dismissEmojiSelectionMenu() {
- _imojiSelectionMenu?.remove();
- _imojiSelectionMenu = null;
+ _emojiSelectionMenu?.remove();
+ _emojiSelectionMenu = null;
_editorState?.service.selectionService.currentSelection
.removeListener(_dismissEmojiSelectionMenu);
@@ -70,7 +76,7 @@ class EmojiSelectionMenu extends StatefulWidget {
this.editorState,
}) : super(key: key);
- final void Function(Emoji Emoji) onSubmitted;
+ final void Function(Emoji emoji) onSubmitted;
final void Function() onExit;
final EditorState? editorState;
@@ -129,7 +135,7 @@ class _EmojiSelectionMenuState extends State<EmojiSelectionMenu> {
crossAxisAlignment: CrossAxisAlignment.start,
children: [
_buildHeader(context),
- FlowyEmojiStyleButton(normalIcon: '', tooltipText: ''),
+ // FlowyEmojiStyleButton(normalIcon: '', tooltipText: ''),
const SizedBox(height: 10.0),
_buildEmojiBox(context),
],
@@ -171,17 +177,16 @@ class _EmojiSelectionMenuState extends State<EmojiSelectionMenu> {
}
extension on EditorState {
- void insertEmojiNode(Emoji emoji) {
+ void insertEmoji(Emoji emoji) {
final selectionService = service.selectionService;
final currentSelection = selectionService.currentSelection.value;
-
- if (currentSelection == null) {
+ final nodes = selectionService.currentSelectedNodes;
+ if (currentSelection == null || !currentSelection.isCollapsed || nodes.first is! TextNode) {
return;
}
-
- final textNode = selectionService.currentSelectedNodes.first as TextNode;
- final transaction = this.transaction;
- transaction.insertText(textNode, currentSelection.endIndex, emoji.emoji);
- apply(transaction);
+ final textNode = nodes.first as TextNode;
+ final tr = transaction;
+ tr.insertText(textNode, currentSelection.endIndex, emoji.emoji,);
+ apply(tr);
}
}
diff --git a/frontend/app_flowy/packages/appflowy_editor_plugins/lib/src/emoji_picker/emoji_picker.dart b/frontend/app_flowy/packages/appflowy_editor_plugins/lib/src/emoji_picker/emoji_picker.dart
new file mode 100644
index 0000000000..fe4580db04
--- /dev/null
+++ b/frontend/app_flowy/packages/appflowy_editor_plugins/lib/src/emoji_picker/emoji_picker.dart
@@ -0,0 +1,4 @@
+export 'src/config.dart';
+export 'src/emoji_picker.dart';
+export 'src/emoji_picker_builder.dart';
+export 'src/models/emoji_model.dart';
diff --git a/frontend/app_flowy/packages/appflowy_editor_plugins/lib/src/emoji_picker/src/config.dart b/frontend/app_flowy/packages/appflowy_editor_plugins/lib/src/emoji_picker/src/config.dart
new file mode 100644
index 0000000000..26046af5bb
--- /dev/null
+++ b/frontend/app_flowy/packages/appflowy_editor_plugins/lib/src/emoji_picker/src/config.dart
@@ -0,0 +1,164 @@
+import 'dart:math';
+
+import 'package:flutter/material.dart';
+
+import 'models/category_models.dart';
+import 'emoji_picker.dart';
+
+/// Config for customizations
+class Config {
+ /// Constructor
+ const Config(
+ {this.columns = 7,
+ this.emojiSizeMax = 32.0,
+ this.verticalSpacing = 0,
+ this.horizontalSpacing = 0,
+ this.initCategory = Category.RECENT,
+ this.bgColor = const Color(0xFFEBEFF2),
+ this.indicatorColor = Colors.blue,
+ this.iconColor = Colors.grey,
+ this.iconColorSelected = Colors.blue,
+ this.progressIndicatorColor = Colors.blue,
+ this.backspaceColor = Colors.blue,
+ this.showRecentsTab = true,
+ this.recentsLimit = 28,
+ this.noRecentsText = 'No Recents',
+ this.noRecentsStyle = const TextStyle(fontSize: 20, color: Colors.black26),
+ this.tabIndicatorAnimDuration = kTabScrollDuration,
+ this.categoryIcons = const CategoryIcons(),
+ this.buttonMode = ButtonMode.MATERIAL});
+
+ /// Number of emojis per row
+ final int columns;
+
+ /// Width and height the emoji will be maximal displayed
+ /// Can be smaller due to screen size and amount of columns
+ final double emojiSizeMax;
+
+ /// Vertical spacing between emojis
+ final double verticalSpacing;
+
+ /// Horizontal spacing between emojis
+ final double horizontalSpacing;
+
+ /// The initial [Category] that will be selected
+ /// This [Category] will have its button in the bottombar darkened
+ final Category initCategory;
+
+ /// The background color of the Widget
+ final Color bgColor;
+
+ /// The color of the category indicator
+ final Color indicatorColor;
+
+ /// The color of the category icons
+ final Color iconColor;
+
+ /// The color of the category icon when selected
+ final Color iconColorSelected;
+
+ /// The color of the loading indicator during initialization
+ final Color progressIndicatorColor;
+
+ /// The color of the backspace icon button
+ final Color backspaceColor;
+
+ /// Show extra tab with recently used emoji
+ final bool showRecentsTab;
+
+ /// Limit of recently used emoji that will be saved
+ final int recentsLimit;
+
+ /// The text to be displayed if no recent emojis to display
+ final String noRecentsText;
+
+ /// The text style for [noRecentsText]
+ final TextStyle noRecentsStyle;
+
+ /// Duration of tab indicator to animate to next category
+ final Duration tabIndicatorAnimDuration;
+
+ /// Determines the icon to display for each [Category]
+ final CategoryIcons categoryIcons;
+
+ /// Change between Material and Cupertino button style
+ final ButtonMode buttonMode;
+
+ /// Get Emoji size based on properties and screen width
+ double getEmojiSize(double width) {
+ final maxSize = width / columns;
+ return min(maxSize, emojiSizeMax);
+ }
+
+ /// Returns the icon for the category
+ IconData getIconForCategory(Category category) {
+ switch (category) {
+ case Category.RECENT:
+ return categoryIcons.recentIcon;
+ case Category.SMILEYS:
+ return categoryIcons.smileyIcon;
+ case Category.ANIMALS:
+ return categoryIcons.animalIcon;
+ case Category.FOODS:
+ return categoryIcons.foodIcon;
+ case Category.TRAVEL:
+ return categoryIcons.travelIcon;
+ case Category.ACTIVITIES:
+ return categoryIcons.activityIcon;
+ case Category.OBJECTS:
+ return categoryIcons.objectIcon;
+ case Category.SYMBOLS:
+ return categoryIcons.symbolIcon;
+ case Category.FLAGS:
+ return categoryIcons.flagIcon;
+ case Category.SEARCH:
+ return categoryIcons.searchIcon;
+ default:
+ throw Exception('Unsupported Category');
+ }
+ }
+
+ @override
+ bool operator ==(other) {
+ return (other is Config) &&
+ other.columns == columns &&
+ other.emojiSizeMax == emojiSizeMax &&
+ other.verticalSpacing == verticalSpacing &&
+ other.horizontalSpacing == horizontalSpacing &&
+ other.initCategory == initCategory &&
+ other.bgColor == bgColor &&
+ other.indicatorColor == indicatorColor &&
+ other.iconColor == iconColor &&
+ other.iconColorSelected == iconColorSelected &&
+ other.progressIndicatorColor == progressIndicatorColor &&
+ other.backspaceColor == backspaceColor &&
+ other.showRecentsTab == showRecentsTab &&
+ other.recentsLimit == recentsLimit &&
+ other.noRecentsText == noRecentsText &&
+ other.noRecentsStyle == noRecentsStyle &&
+ other.tabIndicatorAnimDuration == tabIndicatorAnimDuration &&
+ other.categoryIcons == categoryIcons &&
+ other.buttonMode == buttonMode;
+ }
+
+ @override
+ int get hashCode =>
+ columns.hashCode ^
+ emojiSizeMax.hashCode ^
+ verticalSpacing.hashCode ^
+ horizontalSpacing.hashCode ^
+ initCategory.hashCode ^
+ bgColor.hashCode ^
+ indicatorColor.hashCode ^
+ iconColor.hashCode ^
+ iconColorSelected.hashCode ^
+ progressIndicatorColor.hashCode ^
+ backspaceColor.hashCode ^
+ showRecentsTab.hashCode ^
+ recentsLimit.hashCode ^
+ noRecentsText.hashCode ^
+ noRecentsStyle.hashCode ^
+ tabIndicatorAnimDuration.hashCode ^
+ categoryIcons.hashCode ^
+ buttonMode.hashCode;
+}
diff --git a/frontend/app_flowy/packages/appflowy_editor_plugins/lib/src/emoji_picker/src/default_emoji_picker_view.dart b/frontend/app_flowy/packages/appflowy_editor_plugins/lib/src/emoji_picker/src/default_emoji_picker_view.dart
new file mode 100644
index 0000000000..271a3b6dd2
--- /dev/null
+++ b/frontend/app_flowy/packages/appflowy_editor_plugins/lib/src/emoji_picker/src/default_emoji_picker_view.dart
@@ -0,0 +1,299 @@
+import 'package:flowy_infra_ui/style_widget/scrolling/styled_scroll_bar.dart';
+import 'package:flutter/cupertino.dart';
+import 'package:flutter/material.dart';
+
+import 'models/category_models.dart';
+import 'config.dart';
+import 'models/emoji_model.dart';
+import 'emoji_picker.dart';
+import 'emoji_picker_builder.dart';
+import 'emoji_view_state.dart';
+
+class DefaultEmojiPickerView extends EmojiPickerBuilder {
+ const DefaultEmojiPickerView(Config config, EmojiViewState state, {Key? key})
+ : super(config, state, key: key);
+
+ @override
+ DefaultEmojiPickerViewState createState() => DefaultEmojiPickerViewState();
+}
+
+class DefaultEmojiPickerViewState extends State<DefaultEmojiPickerView>
+ with TickerProviderStateMixin {
+ PageController? _pageController;
+ TabController? _tabController;
+ final TextEditingController _emojiController = TextEditingController();
+ final FocusNode _emojiFocusNode = FocusNode();
+ final CategoryEmoji _categoryEmoji =
+ CategoryEmoji(Category.SEARCH, List.empty(growable: true));
+ CategoryEmoji searchEmojiList = CategoryEmoji(Category.SEARCH, <Emoji>[]);
+
+ @override
+ void initState() {
+ var initCategory = widget.state.categoryEmoji.indexWhere(
+ (element) => element.category == widget.config.initCategory);
+ if (initCategory == -1) {
+ initCategory = 0;
+ }
+ _tabController = TabController(
+ initialIndex: initCategory,
+ length: widget.state.categoryEmoji.length,
+ vsync: this);
+ _pageController = PageController(initialPage: initCategory);
+ _emojiFocusNode.requestFocus();
+
+ _emojiController.addListener(() {
+ String query = _emojiController.text.toLowerCase();
+ if (query.isEmpty) {
+ searchEmojiList.emoji.clear();
+ _pageController!.jumpToPage(
+ _tabController!.index,
+ );
+ } else {
+ searchEmojiList.emoji.clear();
+ for (var element in widget.state.categoryEmoji) {
+ searchEmojiList.emoji.addAll(
+ element.emoji.where((item) {
+ return item.name.toLowerCase().contains(query);
+ }).toList(),
+ );
+ }
+ }
+ setState(() {});
+ });
+ super.initState();
+ }
+
+ @override
+ void dispose() {
+ _emojiController.dispose();
+ _emojiFocusNode.dispose();
+ super.dispose();
+ }
+
+ Widget _buildBackspaceButton() {
+ if (widget.state.onBackspacePressed != null) {
+ return Material(
+ type: MaterialType.transparency,
+ child: IconButton(
+ padding: const EdgeInsets.only(bottom: 2),
+ icon: Icon(
+ Icons.backspace,
+ color: widget.config.backspaceColor,
+ ),
+ onPressed: () {
+ widget.state.onBackspacePressed!();
+ }),
+ );
+ }
+ return Container();
+ }
+
+ bool isEmojiSearching() {
+ bool result =
+ searchEmojiList.emoji.isNotEmpty || _emojiController.text.isNotEmpty;
+
+ return result;
+ }
+
+ @override
+ Widget build(BuildContext context) {
+ return LayoutBuilder(
+ builder: (context, constraints) {
+ final emojiSize = widget.config.getEmojiSize(constraints.maxWidth);
+
+ return Container(
+ color: widget.config.bgColor,
+ padding: const EdgeInsets.all(5.0),
+ child: Column(
+ children: [
+ SizedBox(
+ height: 25.0,
+ child: TextField(
+ controller: _emojiController,
+ focusNode: _emojiFocusNode,
+ autofocus: true,
+ style: const TextStyle(fontSize: 14.0),
+ cursorWidth: 1.0,
+ cursorColor: Colors.black,
+ decoration: InputDecoration(
+ contentPadding: const EdgeInsets.symmetric(horizontal: 5.0),
+ hintText: "Search emoji",
+ focusedBorder: OutlineInputBorder(
+ borderRadius: BorderRadius.circular(4.0),
+ borderSide: const BorderSide(),
+ gapPadding: 0.0,
+ ),
+ border: OutlineInputBorder(
+ borderRadius: BorderRadius.circular(4.0),
+ borderSide: const BorderSide(),
+ gapPadding: 0.0,
+ ),
+ filled: true,
+ fillColor: Colors.white,
+ hoverColor: Colors.white,
+ ),
+ ),
+ ),
+ Row(
+ children: [
+ Expanded(
+ child: TabBar(
+ labelColor: widget.config.iconColorSelected,
+ unselectedLabelColor: widget.config.iconColor,
+ controller: isEmojiSearching()
+ ? TabController(length: 1, vsync: this)
+ : _tabController,
+ labelPadding: EdgeInsets.zero,
+ indicatorColor: widget.config.indicatorColor,
+ padding: const EdgeInsets.symmetric(vertical: 5.0),
+ indicator: BoxDecoration(
+ border: Border.all(color: Colors.transparent),
+ borderRadius: BorderRadius.circular(4.0),
+ color: Colors.grey.withOpacity(0.5),
+ ),
+ onTap: (index) {
+ _pageController!.animateToPage(
+ index,
+ duration: widget.config.tabIndicatorAnimDuration,
+ curve: Curves.ease,
+ );
+ },
+ tabs: isEmojiSearching()
+ ? [_buildCategory(Category.SEARCH, emojiSize)]
+ : widget.state.categoryEmoji
+ .asMap()
+ .entries
+ .map<Widget>((item) => _buildCategory(
+ item.value.category, emojiSize))
+ .toList(),
+ ),
+ ),
+ _buildBackspaceButton(),
+ ],
+ ),
+ Flexible(
+ child: PageView.builder(
+ itemCount: searchEmojiList.emoji.isNotEmpty
+ ? 1
+ : widget.state.categoryEmoji.length,
+ controller: _pageController,
+ physics: const NeverScrollableScrollPhysics(),
+ // onPageChanged: (index) {
+ // _tabController!.animateTo(
+ // index,
+ // duration: widget.config.tabIndicatorAnimDuration,
+ // );
+ // },
+ itemBuilder: (context, index) {
+ CategoryEmoji catEmoji = isEmojiSearching()
+ ? searchEmojiList
+ : widget.state.categoryEmoji[index];
+ return _buildPage(emojiSize, catEmoji);
+ },
+ ),
+ ),
+ ],
+ ),
+ );
+ },
+ );
+ }
+
+ Widget _buildCategory(Category category, double categorySize) {
+ return Tab(
+ height: categorySize,
+ child: Icon(
+ widget.config.getIconForCategory(category),
+ size: categorySize / 1.3,
+ ),
+ );
+ }
+
+ Widget _buildButtonWidget(
+ {required VoidCallback onPressed, required Widget child}) {
+ if (widget.config.buttonMode == ButtonMode.MATERIAL) {
+ return TextButton(
+ onPressed: onPressed,
+ style: ButtonStyle(padding: MaterialStateProperty.all(EdgeInsets.zero)),
+ child: child,
+ );
+ }
+ return CupertinoButton(
+ padding: EdgeInsets.zero, onPressed: onPressed, child: child);
+ }
+
+ Widget _buildPage(double emojiSize, CategoryEmoji categoryEmoji) {
+ // Display notice if recent has no entries yet
+ final scrollController = ScrollController();
+
+ if (categoryEmoji.category == Category.RECENT &&
+ categoryEmoji.emoji.isEmpty) {
+ return _buildNoRecent();
+ } else if (categoryEmoji.category == Category.SEARCH &&
+ categoryEmoji.emoji.isEmpty) {
+ return const Center(child: Text("No Emoji Found"));
+ }
+ // Build page normally
+ return ScrollbarListStack(
+ axis: Axis.vertical,
+ controller: scrollController,
+ barSize: 4.0,
+ scrollbarPadding: const EdgeInsets.symmetric(horizontal: 5.0),
+ handleColor: const Color(0xffDFE0E0),
+ trackColor: const Color(0xffDFE0E0),
+ child: ScrollConfiguration(
+ behavior: ScrollConfiguration.of(context).copyWith(scrollbars: false),
+ child: GridView.count(
+ scrollDirection: Axis.vertical,
+ physics: const ScrollPhysics(),
+ controller: scrollController,
+ shrinkWrap: true,
+ // primary: true,
+ padding: const EdgeInsets.all(0),
+ crossAxisCount: widget.config.columns,
+ mainAxisSpacing: widget.config.verticalSpacing,
+ crossAxisSpacing: widget.config.horizontalSpacing,
+ children: _categoryEmoji.emoji.isNotEmpty
+ ? _categoryEmoji.emoji
+ .map<Widget>((e) => _buildEmoji(emojiSize, categoryEmoji, e))
+ .toList()
+ : categoryEmoji.emoji
+ .map<Widget>(
+ (item) => _buildEmoji(emojiSize, categoryEmoji, item))
+ .toList(),
+ ),
+ ),
+ );
+ }
+
+ Widget _buildEmoji(
+ double emojiSize,
+ CategoryEmoji categoryEmoji,
+ Emoji emoji,
+ ) {
+ return _buildButtonWidget(
+ onPressed: () {
+ widget.state.onEmojiSelected(categoryEmoji.category, emoji);
+ },
+ child: FittedBox(
+ fit: BoxFit.fill,
+ child: Text(
+ emoji.emoji,
+ textScaleFactor: 1.0,
+ style: TextStyle(
+ fontSize: emojiSize,
+ backgroundColor: Colors.transparent,
+ ),
+ ),
+ ));
+ }
+
+ Widget _buildNoRecent() {
+ return Center(
+ child: Text(
+ widget.config.noRecentsText,
+ style: widget.config.noRecentsStyle,
+ textAlign: TextAlign.center,
+ ));
+ }
+}
diff --git a/frontend/app_flowy/packages/appflowy_editor_plugins/lib/src/emoji_picker/src/emoji_lists.dart b/frontend/app_flowy/packages/appflowy_editor_plugins/lib/src/emoji_picker/src/emoji_lists.dart
new file mode 100644
index 0000000000..d012b0e7ca
--- /dev/null
+++ b/frontend/app_flowy/packages/appflowy_editor_plugins/lib/src/emoji_picker/src/emoji_lists.dart
@@ -0,0 +1,3223 @@
+// Copyright information
+// File originally from https://github.com/JeffG05/emoji_picker
+
+// import 'emoji.dart';
+
+// final List<Map<String, String>> temp = [smileys, animals, foods, activities, travel, objects, symbols, flags];
+
+// final List<Emoji> emojiSearchList = temp
+// .map((element) {
+// return element.entries.map<Emoji>((entry) => Emoji(entry.key, entry.value)).toList();
+// })
+// .toList()
+// .first;
+
+/// Map of all possible emojis along with their names in [Category.SMILEYS]
+final Map<String, String> smileys = Map.fromIterables([
+ 'Grinning Face',
+ 'Grinning Face With Big Eyes',
+ 'Grinning Face With Smiling Eyes',
+ 'Beaming Face With Smiling Eyes',
+ 'Grinning Squinting Face',
+ 'Grinning Face With Sweat',
+ 'Rolling on the Floor Laughing',
+ 'Face With Tears of Joy',
+ 'Slightly Smiling Face',
+ 'Upside-Down Face',
+ 'Winking Face',
+ 'Smiling Face With Smiling Eyes',
+ 'Smiling Face With Halo',
+ 'Smiling Face With Hearts',
+ 'Smiling Face With Heart-Eyes',
+ 'Star-Struck',
+ 'Face Blowing a Kiss',
+ 'Kissing Face',
+ 'Smiling Face',
+ 'Kissing Face With Closed Eyes',
+ 'Kissing Face With Smiling Eyes',
+ 'Face Savoring Food',
+ 'Face With Tongue',
+ 'Winking Face With Tongue',
+ 'Zany Face',
+ 'Squinting Face With Tongue',
+ 'Money-Mouth Face',
+ 'Hugging Face',
+ 'Face With Hand Over Mouth',
+ 'Shushing Face',
+ 'Thinking Face',
+ 'Zipper-Mouth Face',
+ 'Face With Raised Eyebrow',
+ 'Neutral Face',
+ 'Expressionless Face',
+ 'Face Without Mouth',
+ 'Smirking Face',
+ 'Unamused Face',
+ 'Face With Rolling Eyes',
+ 'Grimacing Face',
+ 'Lying Face',
+ 'Relieved Face',
+ 'Pensive Face',
+ 'Sleepy Face',
+ 'Drooling Face',
+ 'Sleeping Face',
+ 'Face With Medical Mask',
+ 'Face With Thermometer',
+ 'Face With Head-Bandage',
+ 'Nauseated Face',
+ 'Face Vomiting',
+ 'Sneezing Face',
+ 'Hot Face',
+ 'Cold Face',
+ 'Woozy Face',
+ 'Dizzy Face',
+ 'Exploding Head',
+ 'Cowboy Hat Face',
+ 'Partying Face',
+ 'Smiling Face With Sunglasses',
+ 'Nerd Face',
+ 'Face With Monocle',
+ 'Confused Face',
+ 'Worried Face',
+ 'Slightly Frowning Face',
+ 'Frowning Face',
+ 'Face With Open Mouth',
+ 'Hushed Face',
+ 'Astonished Face',
+ 'Flushed Face',
+ 'Pleading Face',
+ 'Frowning Face With Open Mouth',
+ 'Anguished Face',
+ 'Fearful Face',
+ 'Anxious Face With Sweat',
+ 'Sad but Relieved Face',
+ 'Crying Face',
+ 'Loudly Crying Face',
+ 'Face Screaming in Fear',
+ 'Confounded Face',
+ 'Persevering Face',
+ 'Disappointed Face',
+ 'Downcast Face With Sweat',
+ 'Weary Face',
+ 'Tired Face',
+ 'Face With Steam From Nose',
+ 'Pouting Face',
+ 'Angry Face',
+ 'Face With Symbols on Mouth',
+ 'Smiling Face With Horns',
+ 'Angry Face With Horns',
+ 'Skull',
+ 'Skull and Crossbones',
+ 'Pile of Poo',
+ 'Clown Face',
+ 'Ogre',
+ 'Goblin',
+ 'Ghost',
+ 'Alien',
+ 'Alien Monster',
+ 'Robot Face',
+ 'Grinning Cat Face',
+ 'Grinning Cat Face With Smiling Eyes',
+ 'Cat Face With Tears of Joy',
+ 'Smiling Cat Face With Heart-Eyes',
+ 'Cat Face With Wry Smile',
+ 'Kissing Cat Face',
+ 'Weary Cat Face',
+ 'Crying Cat Face',
+ 'Pouting Cat Face',
+ 'Kiss Mark',
+ 'Waving Hand',
+ 'Raised Back of Hand',
+ 'Hand With Fingers Splayed',
+ 'Raised Hand',
+ 'Vulcan Salute',
+ 'OK Hand',
+ 'Victory Hand',
+ 'Crossed Fingers',
+ 'Love-You Gesture',
+ 'Sign of the Horns',
+ 'Call Me Hand',
+ 'Backhand Index Pointing Left',
+ 'Backhand Index Pointing Right',
+ 'Backhand Index Pointing Up',
+ 'Middle Finger',
+ 'Backhand Index Pointing Down',
+ 'Index Pointing Up',
+ 'Thumbs Up',
+ 'Thumbs Down',
+ 'Raised Fist',
+ 'Oncoming Fist',
+ 'Left-Facing Fist',
+ 'Right-Facing Fist',
+ 'Clapping Hands',
+ 'Raising Hands',
+ 'Open Hands',
+ 'Palms Up Together',
+ 'Handshake',
+ 'Folded Hands',
+ 'Writing Hand',
+ 'Nail Polish',
+ 'Selfie',
+ 'Flexed Biceps',
+ 'Leg',
+ 'Foot',
+ 'Ear',
+ 'Nose',
+ 'Brain',
+ 'Tooth',
+ 'Bone',
+ 'Eyes',
+ 'Eye',
+ 'Tongue',
+ 'Mouth',
+ 'Baby',
+ 'Child',
+ 'Boy',
+ 'Girl',
+ 'Person',
+ 'Man',
+ 'Man: Beard',
+ 'Man: Blond Hair',
+ 'Man: Red Hair',
+ 'Man: Curly Hair',
+ 'Man: White Hair',
+ 'Man: Bald',
+ 'Woman',
+ 'Woman: Blond Hair',
+ 'Woman: Red Hair',
+ 'Woman: Curly Hair',
+ 'Woman: White Hair',
+ 'Woman: Bald',
+ 'Older Person',
+ 'Old Man',
+ 'Old Woman',
+ 'Man Frowning',
+ 'Woman Frowning',
+ 'Man Pouting',
+ 'Woman Pouting',
+ 'Man Gesturing No',
+ 'Woman Gesturing No',
+ 'Man Gesturing OK',
+ 'Woman Gesturing OK',
+ 'Man Tipping Hand',
+ 'Woman Tipping Hand',
+ 'Man Raising Hand',
+ 'Woman Raising Hand',
+ 'Man Bowing',
+ 'Woman Bowing',
+ 'Man Facepalming',
+ 'Woman Facepalming',
+ 'Man Shrugging',
+ 'Woman Shrugging',
+ 'Man Health Worker',
+ 'Woman Health Worker',
+ 'Man Student',
+ 'Woman Student',
+ 'Man Teacher',
+ 'Woman Teacher',
+ 'Man Judge',
+ 'Woman Judge',
+ 'Man Farmer',
+ 'Woman Farmer',
+ 'Man Cook',
+ 'Woman Cook',
+ 'Man Mechanic',
+ 'Woman Mechanic',
+ 'Man Factory Worker',
+ 'Woman Factory Worker',
+ 'Man Office Worker',
+ 'Woman Office Worker',
+ 'Man Scientist',
+ 'Woman Scientist',
+ 'Man Technologist',
+ 'Woman Technologist',
+ 'Man Singer',
+ 'Woman Singer',
+ 'Man Artist',
+ 'Woman Artist',
+ 'Man Pilot',
+ 'Woman Pilot',
+ 'Man Astronaut',
+ 'Woman Astronaut',
+ 'Man Firefighter',
+ 'Woman Firefighter',
+ 'Man Police Officer',
+ 'Woman Police Officer',
+ 'Man Detective',
+ 'Woman Detective',
+ 'Man Guard',
+ 'Woman Guard',
+ 'Man Construction Worker',
+ 'Woman Construction Worker',
+ 'Prince',
+ 'Princess',
+ 'Man Wearing Turban',
+ 'Woman Wearing Turban',
+ 'Man With Chinese Cap',
+ 'Woman With Headscarf',
+ 'Man in Tuxedo',
+ 'Bride With Veil',
+ 'Pregnant Woman',
+ 'Breast-Feeding',
+ 'Baby Angel',
+ 'Santa Claus',
+ 'Mrs. Claus',
+ 'Man Superhero',
+ 'Woman Superhero',
+ 'Man Supervillain',
+ 'Woman Supervillain',
+ 'Man Mage',
+ 'Woman Mage',
+ 'Man Fairy',
+ 'Woman Fairy',
+ 'Man Vampire',
+ 'Woman Vampire',
+ 'Merman',
+ 'Mermaid',
+ 'Man Elf',
+ 'Woman Elf',
+ 'Man Genie',
+ 'Woman Genie',
+ 'Man Zombie',
+ 'Woman Zombie',
+ 'Man Getting Massage',
+ 'Woman Getting Massage',
+ 'Man Getting Haircut',
+ 'Woman Getting Haircut',
+ 'Man Walking',
+ 'Woman Walking',
+ 'Man Running',
+ 'Woman Running',
+ 'Woman Dancing',
+ 'Man Dancing',
+ 'Man in Suit Levitating',
+ 'Men With Bunny Ears',
+ 'Women With Bunny Ears',
+ 'Man in Steamy Room',
+ 'Woman in Steamy Room',
+ 'Person in Lotus Position',
+ 'Women Holding Hands',
+ 'Woman and Man Holding Hands',
+ 'Men Holding Hands',
+ 'Kiss',
+ 'Kiss: Man, Man',
+ 'Kiss: Woman, Woman',
+ 'Couple With Heart',
+ 'Couple With Heart: Man, Man',
+ 'Couple With Heart: Woman, Woman',
+ 'Family',
+ 'Family: Man, Woman, Boy',
+ 'Family: Man, Woman, Girl',
+ 'Family: Man, Woman, Girl, Boy',
+ 'Family: Man, Woman, Boy, Boy',
+ 'Family: Man, Woman, Girl, Girl',
+ 'Family: Man, Man, Boy',
+ 'Family: Man, Man, Girl',
+ 'Family: Man, Man, Girl, Boy',
+ 'Family: Man, Man, Boy, Boy',
+ 'Family: Man, Man, Girl, Girl',
+ 'Family: Woman, Woman, Boy',
+ 'Family: Woman, Woman, Girl',
+ 'Family: Woman, Woman, Girl, Boy',
+ 'Family: Woman, Woman, Boy, Boy',
+ 'Family: Woman, Woman, Girl, Girl',
+ 'Family: Man, Boy',
+ 'Family: Man, Boy, Boy',
+ 'Family: Man, Girl',
+ 'Family: Man, Girl, Boy',
+ 'Family: Man, Girl, Girl',
+ 'Family: Woman, Boy',
+ 'Family: Woman, Boy, Boy',
+ 'Family: Woman, Girl',
+ 'Family: Woman, Girl, Boy',
+ 'Family: Woman, Girl, Girl',
+ 'Speaking Head',
+ 'Bust in Silhouette',
+ 'Busts in Silhouette',
+ 'Footprints',
+ 'Luggage',
+ 'Closed Umbrella',
+ 'Umbrella',
+ 'Thread',
+ 'Yarn',
+ 'Glasses',
+ 'Sunglasses',
+ 'Goggles',
+ 'Lab Coat',
+ 'Necktie',
+ 'T-Shirt',
+ 'Jeans',
+ 'Scarf',
+ 'Gloves',
+ 'Coat',
+ 'Socks',
+ 'Dress',
+ 'Kimono',
+ 'Bikini',
+ 'Womanโ€™s Clothes',
+ 'Purse',
+ 'Handbag',
+ 'Clutch Bag',
+ 'Backpack',
+ 'Manโ€™s Shoe',
+ 'Running Shoe',
+ 'Hiking Boot',
+ 'Flat Shoe',
+ 'High-Heeled Shoe',
+ 'Womanโ€™s Sandal',
+ 'Womanโ€™s Boot',
+ 'Crown',
+ 'Womanโ€™s Hat',
+ 'Top Hat',
+ 'Graduation Cap',
+ 'Billed Cap',
+ 'Rescue Workerโ€™s Helmet',
+ 'Lipstick',
+ 'Ring',
+ 'Briefcase'
+], [
+ '๐Ÿ˜€',
+ '๐Ÿ˜ƒ',
+ '๐Ÿ˜„',
+ '๐Ÿ˜',
+ '๐Ÿ˜†',
+ '๐Ÿ˜…',
+ '๐Ÿคฃ',
+ '๐Ÿ˜‚',
+ '๐Ÿ™‚',
+ '๐Ÿ™ƒ',
+ '๐Ÿ˜‰',
+ '๐Ÿ˜Š',
+ '๐Ÿ˜‡',
+ '๐Ÿฅฐ',
+ '๐Ÿ˜',
+ '๐Ÿคฉ',
+ '๐Ÿ˜˜',
+ '๐Ÿ˜—',
+ 'โ˜บ',
+ '๐Ÿ˜š',
+ '๐Ÿ˜™',
+ '๐Ÿ˜‹',
+ '๐Ÿ˜›',
+ '๐Ÿ˜œ',
+ '๐Ÿคช',
+ '๐Ÿ˜',
+ '๐Ÿค‘',
+ '๐Ÿค—',
+ '๐Ÿคญ',
+ '๐Ÿคซ',
+ '๐Ÿค”',
+ '๐Ÿค',
+ '๐Ÿคจ',
+ '๐Ÿ˜',
+ '๐Ÿ˜‘',
+ '๐Ÿ˜ถ',
+ '๐Ÿ˜',
+ '๐Ÿ˜’',
+ '๐Ÿ™„',
+ '๐Ÿ˜ฌ',
+ '๐Ÿคฅ',
+ '๐Ÿ˜Œ',
+ '๐Ÿ˜”',
+ '๐Ÿ˜ช',
+ '๐Ÿคค',
+ '๐Ÿ˜ด',
+ '๐Ÿ˜ท',
+ '๐Ÿค’',
+ '๐Ÿค•',
+ '๐Ÿคข',
+ '๐Ÿคฎ',
+ '๐Ÿคง',
+ '๐Ÿฅต',
+ '๐Ÿฅถ',
+ '๐Ÿฅด',
+ '๐Ÿ˜ต',
+ '๐Ÿคฏ',
+ '๐Ÿค ',
+ '๐Ÿฅณ',
+ '๐Ÿ˜Ž',
+ '๐Ÿค“',
+ '๐Ÿง',
+ '๐Ÿ˜•',
+ '๐Ÿ˜Ÿ',
+ '๐Ÿ™',
+ 'โ˜น๏ธ',
+ '๐Ÿ˜ฎ',
+ '๐Ÿ˜ฏ',
+ '๐Ÿ˜ฒ',
+ '๐Ÿ˜ณ',
+ '๐Ÿฅบ',
+ '๐Ÿ˜ฆ',
+ '๐Ÿ˜ง',
+ '๐Ÿ˜จ',
+ '๐Ÿ˜ฐ',
+ '๐Ÿ˜ฅ',
+ '๐Ÿ˜ข',
+ '๐Ÿ˜ญ',
+ '๐Ÿ˜ฑ',
+ '๐Ÿ˜–',
+ '๐Ÿ˜ฃ',
+ '๐Ÿ˜ž',
+ '๐Ÿ˜“',
+ '๐Ÿ˜ฉ',
+ '๐Ÿ˜ซ',
+ '๐Ÿ˜ค',
+ '๐Ÿ˜ก',
+ '๐Ÿ˜ ',
+ '๐Ÿคฌ',
+ '๐Ÿ˜ˆ',
+ '๐Ÿ‘ฟ',
+ '๐Ÿ’€',
+ 'โ˜ ',
+ '๐Ÿ’ฉ',
+ '๐Ÿคก',
+ '๐Ÿ‘น',
+ '๐Ÿ‘บ',
+ '๐Ÿ‘ป',
+ '๐Ÿ‘ฝ',
+ '๐Ÿ‘พ',
+ '๐Ÿค–',
+ '๐Ÿ˜บ',
+ '๐Ÿ˜ธ',
+ '๐Ÿ˜น',
+ '๐Ÿ˜ป',
+ '๐Ÿ˜ผ',
+ '๐Ÿ˜ฝ',
+ '๐Ÿ™€',
+ '๐Ÿ˜ฟ',
+ '๐Ÿ˜พ',
+ '๐Ÿ’‹',
+ '๐Ÿ‘‹',
+ '๐Ÿคš',
+ '๐Ÿ–',
+ 'โœ‹',
+ '๐Ÿ––',
+ '๐Ÿ‘Œ',
+ 'โœŒ',
+ '๐Ÿคž',
+ '๐ŸคŸ',
+ '๐Ÿค˜',
+ '๐Ÿค™',
+ '๐Ÿ‘ˆ',
+ '๐Ÿ‘‰',
+ '๐Ÿ‘†',
+ '๐Ÿ–•',
+ '๐Ÿ‘‡',
+ 'โ˜',
+ '๐Ÿ‘',
+ '๐Ÿ‘Ž',
+ 'โœŠ',
+ '๐Ÿ‘Š',
+ '๐Ÿค›',
+ '๐Ÿคœ',
+ '๐Ÿ‘',
+ '๐Ÿ™Œ',
+ '๐Ÿ‘',
+ '๐Ÿคฒ',
+ '๐Ÿค',
+ '๐Ÿ™',
+ 'โœ',
+ '๐Ÿ’…',
+ '๐Ÿคณ',
+ '๐Ÿ’ช',
+ '๐Ÿฆต',
+ '๐Ÿฆถ',
+ '๐Ÿ‘‚',
+ '๐Ÿ‘ƒ',
+ '๐Ÿง ',
+ '๐Ÿฆท',
+ '๐Ÿฆด',
+ '๐Ÿ‘€',
+ '๐Ÿ‘',
+ '๐Ÿ‘…',
+ '๐Ÿ‘„',
+ '๐Ÿ‘ถ',
+ '๐Ÿง’',
+ '๐Ÿ‘ฆ',
+ '๐Ÿ‘ง',
+ '๐Ÿง‘',
+ '๐Ÿ‘จ',
+ '๐Ÿง”',
+ '๐Ÿ‘ฑ',
+ '๐Ÿ‘จโ€๐Ÿฆฐ',
+ '๐Ÿ‘จโ€๐Ÿฆฑ',
+ '๐Ÿ‘จโ€๐Ÿฆณ',
+ '๐Ÿ‘จโ€๐Ÿฆฒ',
+ '๐Ÿ‘ฉ',
+ '๐Ÿ‘ฑ',
+ '๐Ÿ‘ฉโ€๐Ÿฆฐ',
+ '๐Ÿ‘ฉโ€๐Ÿฆฑ',
+ '๐Ÿ‘ฉโ€๐Ÿฆณ',
+ '๐Ÿ‘ฉโ€๐Ÿฆฒ',
+ '๐Ÿง“',
+ '๐Ÿ‘ด',
+ '๐Ÿ‘ต',
+ '๐Ÿ™',
+ '๐Ÿ™',
+ '๐Ÿ™Ž',
+ '๐Ÿ™Ž',
+ '๐Ÿ™…',
+ '๐Ÿ™…',
+ '๐Ÿ™†',
+ '๐Ÿ™†',
+ '๐Ÿ’',
+ '๐Ÿ’',
+ '๐Ÿ™‹',
+ '๐Ÿ™‹',
+ '๐Ÿ™‡',
+ '๐Ÿ™‡',
+ '๐Ÿคฆ',
+ '๐Ÿคฆ',
+ '๐Ÿคท',
+ '๐Ÿคท',
+ '๐Ÿ‘จโ€โš•๏ธ',
+ '๐Ÿ‘ฉโ€โš•๏ธ',
+ '๐Ÿ‘จโ€๐ŸŽ“',
+ '๐Ÿ‘ฉโ€๐ŸŽ“',
+ '๐Ÿ‘จโ€๐Ÿซ',
+ '๐Ÿ‘ฉโ€๐Ÿซ',
+ '๐Ÿ‘จโ€โš–๏ธ',
+ '๐Ÿ‘ฉโ€โš–๏ธ',
+ '๐Ÿ‘จโ€๐ŸŒพ',
+ '๐Ÿ‘ฉโ€๐ŸŒพ',
+ '๐Ÿ‘จโ€๐Ÿณ',
+ '๐Ÿ‘ฉโ€๐Ÿณ',
+ '๐Ÿ‘จโ€๐Ÿ”ง',
+ '๐Ÿ‘ฉโ€๐Ÿ”ง',
+ '๐Ÿ‘จโ€๐Ÿญ',
+ '๐Ÿ‘ฉโ€๐Ÿญ',
+ '๐Ÿ‘จโ€๐Ÿ’ผ',
+ '๐Ÿ‘ฉโ€๐Ÿ’ผ',
+ '๐Ÿ‘จโ€๐Ÿ”ฌ',
+ '๐Ÿ‘ฉโ€๐Ÿ”ฌ',
+ '๐Ÿ‘จโ€๐Ÿ’ป',
+ '๐Ÿ‘ฉโ€๐Ÿ’ป',
+ '๐Ÿ‘จโ€๐ŸŽค',
+ '๐Ÿ‘ฉโ€๐ŸŽค',
+ '๐Ÿ‘จโ€๐ŸŽจ',
+ '๐Ÿ‘ฉโ€๐ŸŽจ',
+ '๐Ÿ‘จโ€โœˆ๏ธ',
+ '๐Ÿ‘ฉโ€โœˆ๏ธ',
+ '๐Ÿ‘จโ€๐Ÿš€',
+ '๐Ÿ‘ฉโ€๐Ÿš€',
+ '๐Ÿ‘จโ€๐Ÿš’',
+ '๐Ÿ‘ฉโ€๐Ÿš’',
+ '๐Ÿ‘ฎ',
+ '๐Ÿ‘ฎ',
+ '๐Ÿ•ต๏ธ',
+ '๐Ÿ•ต๏ธ',
+ '๐Ÿ’‚',
+ '๐Ÿ’‚',
+ '๐Ÿ‘ท',
+ '๐Ÿ‘ท',
+ '๐Ÿคด',
+ '๐Ÿ‘ธ',
+ '๐Ÿ‘ณ',
+ '๐Ÿ‘ณ',
+ '๐Ÿ‘ฒ',
+ '๐Ÿง•',
+ '๐Ÿคต',
+ '๐Ÿ‘ฐ',
+ '๐Ÿคฐ',
+ '๐Ÿคฑ',
+ '๐Ÿ‘ผ',
+ '๐ŸŽ…',
+ '๐Ÿคถ',
+ '๐Ÿฆธ',
+ '๐Ÿฆธ',
+ '๐Ÿฆน',
+ '๐Ÿฆน',
+ '๐Ÿง™',
+ '๐Ÿง™',
+ '๐Ÿงš',
+ '๐Ÿงš',
+ '๐Ÿง›',
+ '๐Ÿง›',
+ '๐Ÿงœ',
+ '๐Ÿงœ',
+ '๐Ÿง',
+ '๐Ÿง',
+ '๐Ÿงž',
+ '๐Ÿงž',
+ '๐ŸงŸ',
+ '๐ŸงŸ',
+ '๐Ÿ’†',
+ '๐Ÿ’†',
+ '๐Ÿ’‡',
+ '๐Ÿ’‡',
+ '๐Ÿšถ',
+ '๐Ÿšถ',
+ '๐Ÿƒ',
+ '๐Ÿƒ',
+ '๐Ÿ’ƒ',
+ '๐Ÿ•บ',
+ '๐Ÿ•ด',
+ '๐Ÿ‘ฏ',
+ '๐Ÿ‘ฏ',
+ '๐Ÿง–',
+ '๐Ÿง–',
+ '๐Ÿง˜',
+ '๐Ÿ‘ญ',
+ '๐Ÿ‘ซ',
+ '๐Ÿ‘ฌ',
+ '๐Ÿ’',
+ '๐Ÿ‘จโ€โค๏ธโ€๐Ÿ’‹โ€๐Ÿ‘จ',
+ '๐Ÿ‘ฉโ€โค๏ธโ€๐Ÿ’‹โ€๐Ÿ‘ฉ',
+ '๐Ÿ’‘',
+ '๐Ÿ‘จโ€โค๏ธโ€๐Ÿ‘จ',
+ '๐Ÿ‘ฉโ€โค๏ธโ€๐Ÿ‘ฉ',
+ '๐Ÿ‘ช',
+ '๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘ฆ',
+ '๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘ง',
+ '๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ',
+ '๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘ฆโ€๐Ÿ‘ฆ',
+ '๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ง',
+ '๐Ÿ‘จโ€๐Ÿ‘จโ€๐Ÿ‘ฆ',
+ '๐Ÿ‘จโ€๐Ÿ‘จโ€๐Ÿ‘ง',
+ '๐Ÿ‘จโ€๐Ÿ‘จโ€๐Ÿ‘งโ€๐Ÿ‘ฆ',
+ '๐Ÿ‘จโ€๐Ÿ‘จโ€๐Ÿ‘ฆโ€๐Ÿ‘ฆ',
+ '๐Ÿ‘จโ€๐Ÿ‘จโ€๐Ÿ‘งโ€๐Ÿ‘ง',
+ '๐Ÿ‘ฉโ€๐Ÿ‘ฉโ€๐Ÿ‘ฆ',
+ '๐Ÿ‘ฉโ€๐Ÿ‘ฉโ€๐Ÿ‘ง',
+ '๐Ÿ‘ฉโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ',
+ '๐Ÿ‘ฉโ€๐Ÿ‘ฉโ€๐Ÿ‘ฆโ€๐Ÿ‘ฆ',
+ '๐Ÿ‘ฉโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ง',
+ '๐Ÿ‘จโ€๐Ÿ‘ฆ',
+ '๐Ÿ‘จโ€๐Ÿ‘ฆโ€๐Ÿ‘ฆ',
+ '๐Ÿ‘จโ€๐Ÿ‘ง',
+ '๐Ÿ‘จโ€๐Ÿ‘งโ€๐Ÿ‘ฆ',
+ '๐Ÿ‘จโ€๐Ÿ‘งโ€๐Ÿ‘ง',
+ '๐Ÿ‘ฉโ€๐Ÿ‘ฆ',
+ '๐Ÿ‘ฉโ€๐Ÿ‘ฆโ€๐Ÿ‘ฆ',
+ '๐Ÿ‘ฉโ€๐Ÿ‘ง',
+ '๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ',
+ '๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ง',
+ '๐Ÿ—ฃ',
+ '๐Ÿ‘ค',
+ '๐Ÿ‘ฅ',
+ '๐Ÿ‘ฃ',
+ '๐Ÿงณ',
+ '๐ŸŒ‚',
+ 'โ˜‚',
+ '๐Ÿงต',
+ '๐Ÿงถ',
+ '๐Ÿ‘“',
+ '๐Ÿ•ถ',
+ '๐Ÿฅฝ',
+ '๐Ÿฅผ',
+ '๐Ÿ‘”',
+ '๐Ÿ‘•',
+ '๐Ÿ‘–',
+ '๐Ÿงฃ',
+ '๐Ÿงค',
+ '๐Ÿงฅ',
+ '๐Ÿงฆ',
+ '๐Ÿ‘—',
+ '๐Ÿ‘˜',
+ '๐Ÿ‘™',
+ '๐Ÿ‘š',
+ '๐Ÿ‘›',
+ '๐Ÿ‘œ',
+ '๐Ÿ‘',
+ '๐ŸŽ’',
+ '๐Ÿ‘ž',
+ '๐Ÿ‘Ÿ',
+ '๐Ÿฅพ',
+ '๐Ÿฅฟ',
+ '๐Ÿ‘ ',
+ '๐Ÿ‘ก',
+ '๐Ÿ‘ข',
+ '๐Ÿ‘‘',
+ '๐Ÿ‘’',
+ '๐ŸŽฉ',
+ '๐ŸŽ“',
+ '๐Ÿงข',
+ 'โ›‘',
+ '๐Ÿ’„',
+ '๐Ÿ’',
+ '๐Ÿ’ผ'
+]);
+
+/// Map of all possible emojis along with their names in [Category.ANIMALS]
+final Map<String, String> animals = Map.fromIterables([
+ 'Dog Face',
+ 'Cat Face',
+ 'Mouse Face',
+ 'Hamster Face',
+ 'Rabbit Face',
+ 'Fox Face',
+ 'Bear Face',
+ 'Panda Face',
+ 'Koala Face',
+ 'Tiger Face',
+ 'Lion Face',
+ 'Cow Face',
+ 'Pig Face',
+ 'Pig Nose',
+ 'Frog Face',
+ 'Monkey Face',
+ 'See-No-Evil Monkey',
+ 'Hear-No-Evil Monkey',
+ 'Speak-No-Evil Monkey',
+ 'Monkey',
+ 'Collision',
+ 'Dizzy',
+ 'Sweat Droplets',
+ 'Dashing Away',
+ 'Gorilla',
+ 'Dog',
+ 'Poodle',
+ 'Wolf Face',
+ 'Raccoon',
+ 'Cat',
+ 'Tiger',
+ 'Leopard',
+ 'Horse Face',
+ 'Horse',
+ 'Unicorn Face',
+ 'Zebra',
+ 'Ox',
+ 'Water Buffalo',
+ 'Cow',
+ 'Pig',
+ 'Boar',
+ 'Ram',
+ 'Ewe',
+ 'Goat',
+ 'Camel',
+ 'Two-Hump Camel',
+ 'Llama',
+ 'Giraffe',
+ 'Elephant',
+ 'Rhinoceros',
+ 'Hippopotamus',
+ 'Mouse',
+ 'Rat',
+ 'Rabbit',
+ 'Chipmunk',
+ 'Hedgehog',
+ 'Bat',
+ 'Kangaroo',
+ 'Badger',
+ 'Paw Prints',
+ 'Turkey',
+ 'Chicken',
+ 'Rooster',
+ 'Hatching Chick',
+ 'Baby Chick',
+ 'Front-Facing Baby Chick',
+ 'Bird',
+ 'Penguin',
+ 'Dove',
+ 'Eagle',
+ 'Duck',
+ 'Swan',
+ 'Owl',
+ 'Peacock',
+ 'Parrot',
+ 'Crocodile',
+ 'Turtle',
+ 'Lizard',
+ 'Snake',
+ 'Dragon Face',
+ 'Dragon',
+ 'Sauropod',
+ 'T-Rex',
+ 'Spouting Whale',
+ 'Whale',
+ 'Dolphin',
+ 'Fish',
+ 'Tropical Fish',
+ 'Blowfish',
+ 'Shark',
+ 'Octopus',
+ 'Spiral Shell',
+ 'Snail',
+ 'Butterfly',
+ 'Bug',
+ 'Ant',
+ 'Honeybee',
+ 'Lady Beetle',
+ 'Cricket',
+ 'Spider',
+ 'Spider Web',
+ 'Scorpion',
+ 'Mosquito',
+ 'Microbe',
+ 'Bouquet',
+ 'Cherry Blossom',
+ 'White Flower',
+ 'Rosette',
+ 'Rose',
+ 'Wilted Flower',
+ 'Hibiscus',
+ 'Sunflower',
+ 'Blossom',
+ 'Tulip',
+ 'Seedling',
+ 'Evergreen Tree',
+ 'Deciduous Tree',
+ 'Palm Tree',
+ 'Cactus',
+ 'Sheaf of Rice',
+ 'Herb',
+ 'Shamrock',
+ 'Four Leaf Clover',
+ 'Maple Leaf',
+ 'Fallen Leaf',
+ 'Leaf Fluttering in Wind',
+ 'Mushroom',
+ 'Chestnut',
+ 'Crab',
+ 'Lobster',
+ 'Shrimp',
+ 'Squid',
+ 'Globe Showing Europe-Africa',
+ 'Globe Showing Americas',
+ 'Globe Showing Asia-Australia',
+ 'Globe With Meridians',
+ 'New Moon',
+ 'Waxing Crescent Moon',
+ 'First Quarter Moon',
+ 'Waxing Gibbous Moon',
+ 'Full Moon',
+ 'Waning Gibbous Moon',
+ 'Last Quarter Moon',
+ 'Waning Crescent Moon',
+ 'Crescent Moon',
+ 'New Moon Face',
+ 'First Quarter Moon Face',
+ 'Last Quarter Moon Face',
+ 'Sun',
+ 'Full Moon Face',
+ 'Sun With Face',
+ 'Star',
+ 'Glowing Star',
+ 'Shooting Star',
+ 'Cloud',
+ 'Sun Behind Cloud',
+ 'Cloud With Lightning and Rain',
+ 'Sun Behind Small Cloud',
+ 'Sun Behind Large Cloud',
+ 'Sun Behind Rain Cloud',
+ 'Cloud With Rain',
+ 'Cloud With Snow',
+ 'Cloud With Lightning',
+ 'Tornado',
+ 'Fog',
+ 'Wind Face',
+ 'Rainbow',
+ 'Umbrella',
+ 'Umbrella With Rain Drops',
+ 'High Voltage',
+ 'Snowflake',
+ 'Snowman Without Snow',
+ 'Snowman',
+ 'Comet',
+ 'Fire',
+ 'Droplet',
+ 'Water Wave',
+ 'Christmas Tree',
+ 'Sparkles',
+ 'Tanabata Tree',
+ 'Pine Decoration'
+], [
+ '๐Ÿถ',
+ '๐Ÿฑ',
+ '๐Ÿญ',
+ '๐Ÿน',
+ '๐Ÿฐ',
+ '๐ŸฆŠ',
+ '๐Ÿป',
+ '๐Ÿผ',
+ '๐Ÿจ',
+ '๐Ÿฏ',
+ '๐Ÿฆ',
+ '๐Ÿฎ',
+ '๐Ÿท',
+ '๐Ÿฝ',
+ '๐Ÿธ',
+ '๐Ÿต',
+ '๐Ÿ™ˆ',
+ '๐Ÿ™‰',
+ '๐Ÿ™Š',
+ '๐Ÿ’',
+ '๐Ÿ’ฅ',
+ '๐Ÿ’ซ',
+ '๐Ÿ’ฆ',
+ '๐Ÿ’จ',
+ '๐Ÿฆ',
+ '๐Ÿ•',
+ '๐Ÿฉ',
+ '๐Ÿบ',
+ '๐Ÿฆ',
+ '๐Ÿˆ',
+ '๐Ÿ…',
+ '๐Ÿ†',
+ '๐Ÿด',
+ '๐ŸŽ',
+ '๐Ÿฆ„',
+ '๐Ÿฆ“',
+ '๐Ÿ‚',
+ '๐Ÿƒ',
+ '๐Ÿ„',
+ '๐Ÿ–',
+ '๐Ÿ—',
+ '๐Ÿ',
+ '๐Ÿ‘',
+ '๐Ÿ',
+ '๐Ÿช',
+ '๐Ÿซ',
+ '๐Ÿฆ™',
+ '๐Ÿฆ’',
+ '๐Ÿ˜',
+ '๐Ÿฆ',
+ '๐Ÿฆ›',
+ '๐Ÿ',
+ '๐Ÿ€',
+ '๐Ÿ‡',
+ '๐Ÿฟ',
+ '๐Ÿฆ”',
+ '๐Ÿฆ‡',
+ '๐Ÿฆ˜',
+ '๐Ÿฆก',
+ '๐Ÿพ',
+ '๐Ÿฆƒ',
+ '๐Ÿ”',
+ '๐Ÿ“',
+ '๐Ÿฃ',
+ '๐Ÿค',
+ '๐Ÿฅ',
+ '๐Ÿฆ',
+ '๐Ÿง',
+ '๐Ÿ•Š',
+ '๐Ÿฆ…',
+ '๐Ÿฆ†',
+ '๐Ÿฆข',
+ '๐Ÿฆ‰',
+ '๐Ÿฆš',
+ '๐Ÿฆœ',
+ '๐ŸŠ',
+ '๐Ÿข',
+ '๐ŸฆŽ',
+ '๐Ÿ',
+ '๐Ÿฒ',
+ '๐Ÿ‰',
+ '๐Ÿฆ•',
+ '๐Ÿฆ–',
+ '๐Ÿณ',
+ '๐Ÿ‹',
+ '๐Ÿฌ',
+ '๐ŸŸ',
+ '๐Ÿ ',
+ '๐Ÿก',
+ '๐Ÿฆˆ',
+ '๐Ÿ™',
+ '๐Ÿš',
+ '๐ŸŒ',
+ '๐Ÿฆ‹',
+ '๐Ÿ›',
+ '๐Ÿœ',
+ '๐Ÿ',
+ '๐Ÿž',
+ '๐Ÿฆ—',
+ '๐Ÿ•ท',
+ '๐Ÿ•ธ',
+ '๐Ÿฆ‚',
+ '๐ŸฆŸ',
+ '๐Ÿฆ ',
+ '๐Ÿ’',
+ '๐ŸŒธ',
+ '๐Ÿ’ฎ',
+ '๐Ÿต',
+ '๐ŸŒน',
+ '๐Ÿฅ€',
+ '๐ŸŒบ',
+ '๐ŸŒป',
+ '๐ŸŒผ',
+ '๐ŸŒท',
+ '๐ŸŒฑ',
+ '๐ŸŒฒ',
+ '๐ŸŒณ',
+ '๐ŸŒด',
+ '๐ŸŒต',
+ '๐ŸŒพ',
+ '๐ŸŒฟ',
+ 'โ˜˜',
+ '๐Ÿ€',
+ '๐Ÿ',
+ '๐Ÿ‚',
+ '๐Ÿƒ',
+ '๐Ÿ„',
+ '๐ŸŒฐ',
+ '๐Ÿฆ€',
+ '๐Ÿฆž',
+ '๐Ÿฆ',
+ '๐Ÿฆ‘',
+ '๐ŸŒ',
+ '๐ŸŒŽ',
+ '๐ŸŒ',
+ '๐ŸŒ',
+ '๐ŸŒ‘',
+ '๐ŸŒ’',
+ '๐ŸŒ“',
+ '๐ŸŒ”',
+ '๐ŸŒ•',
+ '๐ŸŒ–',
+ '๐ŸŒ—',
+ '๐ŸŒ˜',
+ '๐ŸŒ™',
+ '๐ŸŒš',
+ '๐ŸŒ›',
+ '๐ŸŒœ',
+ 'โ˜€',
+ '๐ŸŒ',
+ '๐ŸŒž',
+ 'โญ',
+ '๐ŸŒŸ',
+ '๐ŸŒ ',
+ 'โ˜',
+ 'โ›…',
+ 'โ›ˆ',
+ '๐ŸŒค',
+ '๐ŸŒฅ',
+ '๐ŸŒฆ',
+ '๐ŸŒง',
+ '๐ŸŒจ',
+ '๐ŸŒฉ',
+ '๐ŸŒช',
+ '๐ŸŒซ',
+ '๐ŸŒฌ',
+ '๐ŸŒˆ',
+ 'โ˜‚',
+ 'โ˜”',
+ 'โšก',
+ 'โ„',
+ 'โ˜ƒ',
+ 'โ›„',
+ 'โ˜„',
+ '๐Ÿ”ฅ',
+ '๐Ÿ’ง',
+ '๐ŸŒŠ',
+ '๐ŸŽ„',
+ 'โœจ',
+ '๐ŸŽ‹',
+ '๐ŸŽ'
+]);
+
+/// Map of all possible emojis along with their names in [Category.FOODS]
+final Map<String, String> foods = Map.fromIterables([
+ 'Grapes',
+ 'Melon',
+ 'Watermelon',
+ 'Tangerine',
+ 'Lemon',
+ 'Banana',
+ 'Pineapple',
+ 'Mango',
+ 'Red Apple',
+ 'Green Apple',
+ 'Pear',
+ 'Peach',
+ 'Cherries',
+ 'Strawberry',
+ 'Kiwi Fruit',
+ 'Tomato',
+ 'Coconut',
+ 'Avocado',
+ 'Eggplant',
+ 'Potato',
+ 'Carrot',
+ 'Ear of Corn',
+ 'Hot Pepper',
+ 'Cucumber',
+ 'Leafy Green',
+ 'Broccoli',
+ 'Mushroom',
+ 'Peanuts',
+ 'Chestnut',
+ 'Bread',
+ 'Croissant',
+ 'Baguette Bread',
+ 'Pretzel',
+ 'Bagel',
+ 'Pancakes',
+ 'Cheese Wedge',
+ 'Meat on Bone',
+ 'Poultry Leg',
+ 'Cut of Meat',
+ 'Bacon',
+ 'Hamburger',
+ 'French Fries',
+ 'Pizza',
+ 'Hot Dog',
+ 'Sandwich',
+ 'Taco',
+ 'Burrito',
+ 'Stuffed Flatbread',
+ 'Cooking',
+ 'Shallow Pan of Food',
+ 'Pot of Food',
+ 'Bowl With Spoon',
+ 'Green Salad',
+ 'Popcorn',
+ 'Salt',
+ 'Canned Food',
+ 'Bento Box',
+ 'Rice Cracker',
+ 'Rice Ball',
+ 'Cooked Rice',
+ 'Curry Rice',
+ 'Steaming Bowl',
+ 'Spaghetti',
+ 'Roasted Sweet Potato',
+ 'Oden',
+ 'Sushi',
+ 'Fried Shrimp',
+ 'Fish Cake With Swirl',
+ 'Moon Cake',
+ 'Dango',
+ 'Dumpling',
+ 'Fortune Cookie',
+ 'Takeout Box',
+ 'Soft Ice Cream',
+ 'Shaved Ice',
+ 'Ice Cream',
+ 'Doughnut',
+ 'Cookie',
+ 'Birthday Cake',
+ 'Shortcake',
+ 'Cupcake',
+ 'Pie',
+ 'Chocolate Bar',
+ 'Candy',
+ 'Lollipop',
+ 'Custard',
+ 'Honey Pot',
+ 'Baby Bottle',
+ 'Glass of Milk',
+ 'Hot Beverage',
+ 'Teacup Without Handle',
+ 'Sake',
+ 'Bottle With Popping Cork',
+ 'Wine Glass',
+ 'Cocktail Glass',
+ 'Tropical Drink',
+ 'Beer Mug',
+ 'Clinking Beer Mugs',
+ 'Clinking Glasses',
+ 'Tumbler Glass',
+ 'Cup With Straw',
+ 'Chopsticks',
+ 'Fork and Knife With Plate',
+ 'Fork and Knife',
+ 'Spoon'
+], [
+ '๐Ÿ‡',
+ '๐Ÿˆ',
+ '๐Ÿ‰',
+ '๐ŸŠ',
+ '๐Ÿ‹',
+ '๐ŸŒ',
+ '๐Ÿ',
+ '๐Ÿฅญ',
+ '๐ŸŽ',
+ '๐Ÿ',
+ '๐Ÿ',
+ '๐Ÿ‘',
+ '๐Ÿ’',
+ '๐Ÿ“',
+ '๐Ÿฅ',
+ '๐Ÿ…',
+ '๐Ÿฅฅ',
+ '๐Ÿฅ‘',
+ '๐Ÿ†',
+ '๐Ÿฅ”',
+ '๐Ÿฅ•',
+ '๐ŸŒฝ',
+ '๐ŸŒถ',
+ '๐Ÿฅ’',
+ '๐Ÿฅฌ',
+ '๐Ÿฅฆ',
+ '๐Ÿ„',
+ '๐Ÿฅœ',
+ '๐ŸŒฐ',
+ '๐Ÿž',
+ '๐Ÿฅ',
+ '๐Ÿฅ–',
+ '๐Ÿฅจ',
+ '๐Ÿฅฏ',
+ '๐Ÿฅž',
+ '๐Ÿง€',
+ '๐Ÿ–',
+ '๐Ÿ—',
+ '๐Ÿฅฉ',
+ '๐Ÿฅ“',
+ '๐Ÿ”',
+ '๐ŸŸ',
+ '๐Ÿ•',
+ '๐ŸŒญ',
+ '๐Ÿฅช',
+ '๐ŸŒฎ',
+ '๐ŸŒฏ',
+ '๐Ÿฅ™',
+ '๐Ÿณ',
+ '๐Ÿฅ˜',
+ '๐Ÿฒ',
+ '๐Ÿฅฃ',
+ '๐Ÿฅ—',
+ '๐Ÿฟ',
+ '๐Ÿง‚',
+ '๐Ÿฅซ',
+ '๐Ÿฑ',
+ '๐Ÿ˜',
+ '๐Ÿ™',
+ '๐Ÿš',
+ '๐Ÿ›',
+ '๐Ÿœ',
+ '๐Ÿ',
+ '๐Ÿ ',
+ '๐Ÿข',
+ '๐Ÿฃ',
+ '๐Ÿค',
+ '๐Ÿฅ',
+ '๐Ÿฅฎ',
+ '๐Ÿก',
+ '๐ŸฅŸ',
+ '๐Ÿฅ ',
+ '๐Ÿฅก',
+ '๐Ÿฆ',
+ '๐Ÿง',
+ '๐Ÿจ',
+ '๐Ÿฉ',
+ '๐Ÿช',
+ '๐ŸŽ‚',
+ '๐Ÿฐ',
+ '๐Ÿง',
+ '๐Ÿฅง',
+ '๐Ÿซ',
+ '๐Ÿฌ',
+ '๐Ÿญ',
+ '๐Ÿฎ',
+ '๐Ÿฏ',
+ '๐Ÿผ',
+ '๐Ÿฅ›',
+ 'โ˜•',
+ '๐Ÿต',
+ '๐Ÿถ',
+ '๐Ÿพ',
+ '๐Ÿท',
+ '๐Ÿธ',
+ '๐Ÿน',
+ '๐Ÿบ',
+ '๐Ÿป',
+ '๐Ÿฅ‚',
+ '๐Ÿฅƒ',
+ '๐Ÿฅค',
+ '๐Ÿฅข',
+ '๐Ÿฝ',
+ '๐Ÿด',
+ '๐Ÿฅ„'
+]);
+
+/// Map of all possible emojis along with their names in [Category.TRAVEL]
+final Map<String, String> travel = Map.fromIterables([
+ 'Person Rowing Boat',
+ 'Map of Japan',
+ 'Snow-Capped Mountain',
+ 'Mountain',
+ 'Volcano',
+ 'Mount Fuji',
+ 'Camping',
+ 'Beach With Umbrella',
+ 'Desert',
+ 'Desert Island',
+ 'National Park',
+ 'Stadium',
+ 'Classical Building',
+ 'Building Construction',
+ 'Houses',
+ 'Derelict House',
+ 'House',
+ 'House With Garden',
+ 'Office Building',
+ 'Japanese Post Office',
+ 'Post Office',
+ 'Hospital',
+ 'Bank',
+ 'Hotel',
+ 'Love Hotel',
+ 'Convenience Store',
+ 'School',
+ 'Department Store',
+ 'Factory',
+ 'Japanese Castle',
+ 'Castle',
+ 'Wedding',
+ 'Tokyo Tower',
+ 'Statue of Liberty',
+ 'Church',
+ 'Mosque',
+ 'Synagogue',
+ 'Shinto Shrine',
+ 'Kaaba',
+ 'Fountain',
+ 'Tent',
+ 'Foggy',
+ 'Night With Stars',
+ 'Cityscape',
+ 'Sunrise Over Mountains',
+ 'Sunrise',
+ 'Cityscape at Dusk',
+ 'Sunset',
+ 'Bridge at Night',
+ 'Carousel Horse',
+ 'Ferris Wheel',
+ 'Roller Coaster',
+ 'Locomotive',
+ 'Railway Car',
+ 'High-Speed Train',
+ 'Bullet Train',
+ 'Train',
+ 'Metro',
+ 'Light Rail',
+ 'Station',
+ 'Tram',
+ 'Monorail',
+ 'Mountain Railway',
+ 'Tram Car',
+ 'Bus',
+ 'Oncoming Bus',
+ 'Trolleybus',
+ 'Minibus',
+ 'Ambulance',
+ 'Fire Engine',
+ 'Police Car',
+ 'Oncoming Police Car',
+ 'Taxi',
+ 'Oncoming Taxi',
+ 'Automobile',
+ 'Oncoming Automobile',
+ 'Delivery Truck',
+ 'Articulated Lorry',
+ 'Tractor',
+ 'Racing Car',
+ 'Motorcycle',
+ 'Motor Scooter',
+ 'Bicycle',
+ 'Kick Scooter',
+ 'Bus Stop',
+ 'Railway Track',
+ 'Fuel Pump',
+ 'Police Car Light',
+ 'Horizontal Traffic Light',
+ 'Vertical Traffic Light',
+ 'Construction',
+ 'Anchor',
+ 'Sailboat',
+ 'Speedboat',
+ 'Passenger Ship',
+ 'Ferry',
+ 'Motor Boat',
+ 'Ship',
+ 'Airplane',
+ 'Small Airplane',
+ 'Airplane Departure',
+ 'Airplane Arrival',
+ 'Seat',
+ 'Helicopter',
+ 'Suspension Railway',
+ 'Mountain Cableway',
+ 'Aerial Tramway',
+ 'Satellite',
+ 'Rocket',
+ 'Flying Saucer',
+ 'Shooting Star',
+ 'Milky Way',
+ 'Umbrella on Ground',
+ 'Fireworks',
+ 'Sparkler',
+ 'Moon Viewing Ceremony',
+ 'Yen Banknote',
+ 'Dollar Banknote',
+ 'Euro Banknote',
+ 'Pound Banknote',
+ 'Moai',
+ 'Passport Control',
+ 'Customs',
+ 'Baggage Claim',
+ 'Left Luggage'
+], [
+ '๐Ÿšฃ',
+ '๐Ÿ—พ',
+ '๐Ÿ”',
+ 'โ›ฐ',
+ '๐ŸŒ‹',
+ '๐Ÿ—ป',
+ '๐Ÿ•',
+ '๐Ÿ–',
+ '๐Ÿœ',
+ '๐Ÿ',
+ '๐Ÿž',
+ '๐ŸŸ',
+ '๐Ÿ›',
+ '๐Ÿ—',
+ '๐Ÿ˜',
+ '๐Ÿš',
+ '๐Ÿ ',
+ '๐Ÿก',
+ '๐Ÿข',
+ '๐Ÿฃ',
+ '๐Ÿค',
+ '๐Ÿฅ',
+ '๐Ÿฆ',
+ '๐Ÿจ',
+ '๐Ÿฉ',
+ '๐Ÿช',
+ '๐Ÿซ',
+ '๐Ÿฌ',
+ '๐Ÿญ',
+ '๐Ÿฏ',
+ '๐Ÿฐ',
+ '๐Ÿ’’',
+ '๐Ÿ—ผ',
+ '๐Ÿ—ฝ',
+ 'โ›ช',
+ '๐Ÿ•Œ',
+ '๐Ÿ•',
+ 'โ›ฉ',
+ '๐Ÿ•‹',
+ 'โ›ฒ',
+ 'โ›บ',
+ '๐ŸŒ',
+ '๐ŸŒƒ',
+ '๐Ÿ™',
+ '๐ŸŒ„',
+ '๐ŸŒ…',
+ '๐ŸŒ†',
+ '๐ŸŒ‡',
+ '๐ŸŒ‰',
+ '๐ŸŽ ',
+ '๐ŸŽก',
+ '๐ŸŽข',
+ '๐Ÿš‚',
+ '๐Ÿšƒ',
+ '๐Ÿš„',
+ '๐Ÿš…',
+ '๐Ÿš†',
+ '๐Ÿš‡',
+ '๐Ÿšˆ',
+ '๐Ÿš‰',
+ '๐ŸšŠ',
+ '๐Ÿš',
+ '๐Ÿšž',
+ '๐Ÿš‹',
+ '๐ŸšŒ',
+ '๐Ÿš',
+ '๐ŸšŽ',
+ '๐Ÿš',
+ '๐Ÿš‘',
+ '๐Ÿš’',
+ '๐Ÿš“',
+ '๐Ÿš”',
+ '๐Ÿš•',
+ '๐Ÿš–',
+ '๐Ÿš—',
+ '๐Ÿš˜',
+ '๐Ÿšš',
+ '๐Ÿš›',
+ '๐Ÿšœ',
+ '๐ŸŽ',
+ '๐Ÿ',
+ '๐Ÿ›ต',
+ '๐Ÿšฒ',
+ '๐Ÿ›ด',
+ '๐Ÿš',
+ '๐Ÿ›ค',
+ 'โ›ฝ',
+ '๐Ÿšจ',
+ '๐Ÿšฅ',
+ '๐Ÿšฆ',
+ '๐Ÿšง',
+ 'โš“',
+ 'โ›ต',
+ '๐Ÿšค',
+ '๐Ÿ›ณ',
+ 'โ›ด',
+ '๐Ÿ›ฅ',
+ '๐Ÿšข',
+ 'โœˆ',
+ '๐Ÿ›ฉ',
+ '๐Ÿ›ซ',
+ '๐Ÿ›ฌ',
+ '๐Ÿ’บ',
+ '๐Ÿš',
+ '๐ŸšŸ',
+ '๐Ÿš ',
+ '๐Ÿšก',
+ '๐Ÿ›ฐ',
+ '๐Ÿš€',
+ '๐Ÿ›ธ',
+ '๐ŸŒ ',
+ '๐ŸŒŒ',
+ 'โ›ฑ',
+ '๐ŸŽ†',
+ '๐ŸŽ‡',
+ '๐ŸŽ‘',
+ '๐Ÿ’ด',
+ '๐Ÿ’ต',
+ '๐Ÿ’ถ',
+ '๐Ÿ’ท',
+ '๐Ÿ—ฟ',
+ '๐Ÿ›‚',
+ '๐Ÿ›ƒ',
+ '๐Ÿ›„',
+ '๐Ÿ›…'
+]);
+
+/// Map of all possible emojis along with their names in [Category.ACTIVITIES]
+final Map<String, String> activities = Map.fromIterables([
+ 'Man in Suit Levitating',
+ 'Man Climbing',
+ 'Woman Climbing',
+ 'Horse Racing',
+ 'Skier',
+ 'Snowboarder',
+ 'Man Golfing',
+ 'Woman Golfing',
+ 'Man Surfing',
+ 'Woman Surfing',
+ 'Man Rowing Boat',
+ 'Woman Rowing Boat',
+ 'Man Swimming',
+ 'Woman Swimming',
+ 'Man Bouncing Ball',
+ 'Woman Bouncing Ball',
+ 'Man Lifting Weights',
+ 'Woman Lifting Weights',
+ 'Man Biking',
+ 'Woman Biking',
+ 'Man Mountain Biking',
+ 'Woman Mountain Biking',
+ 'Man Cartwheeling',
+ 'Woman Cartwheeling',
+ 'Men Wrestling',
+ 'Women Wrestling',
+ 'Man Playing Water Polo',
+ 'Woman Playing Water Polo',
+ 'Man Playing Handball',
+ 'Woman Playing Handball',
+ 'Man Juggling',
+ 'Woman Juggling',
+ 'Man in Lotus Position',
+ 'Woman in Lotus Position',
+ 'Circus Tent',
+ 'Skateboard',
+ 'Reminder Ribbon',
+ 'Admission Tickets',
+ 'Ticket',
+ 'Military Medal',
+ 'Trophy',
+ 'Sports Medal',
+ '1st Place Medal',
+ '2nd Place Medal',
+ '3rd Place Medal',
+ 'Soccer Ball',
+ 'Baseball',
+ 'Softball',
+ 'Basketball',
+ 'Volleyball',
+ 'American Football',
+ 'Rugby Football',
+ 'Tennis',
+ 'Flying Disc',
+ 'Bowling',
+ 'Cricket Game',
+ 'FieldPB Hockey',
+ 'Ice Hockey',
+ 'Lacrosse',
+ 'Ping Pong',
+ 'Badminton',
+ 'Boxing Glove',
+ 'Martial Arts Uniform',
+ 'Flag in Hole',
+ 'Ice Skate',
+ 'Fishing Pole',
+ 'Running Shirt',
+ 'Skis',
+ 'Sled',
+ 'Curling Stone',
+ 'Direct Hit',
+ 'Pool 8 Ball',
+ 'Video Game',
+ 'Slot Machine',
+ 'Game Die',
+ 'Jigsaw',
+ 'Chess Pawn',
+ 'Performing Arts',
+ 'Artist Palette',
+ 'Thread',
+ 'Yarn',
+ 'Musical Score',
+ 'Microphone',
+ 'Headphone',
+ 'Saxophone',
+ 'Guitar',
+ 'Musical Keyboard',
+ 'Trumpet',
+ 'Violin',
+ 'Drum',
+ 'Clapper Board',
+ 'Bow and Arrow'
+], [
+ '๐Ÿ•ด',
+ '๐Ÿง—',
+ '๐Ÿง—',
+ '๐Ÿ‡',
+ 'โ›ท',
+ '๐Ÿ‚',
+ '๐ŸŒ๏ธ',
+ '๐ŸŒ๏ธ',
+ '๐Ÿ„',
+ '๐Ÿ„',
+ '๐Ÿšฃ',
+ '๐Ÿšฃ',
+ '๐ŸŠ',
+ '๐ŸŠ',
+ 'โ›น๏ธ',
+ 'โ›น๏ธ',
+ '๐Ÿ‹๏ธ',
+ '๐Ÿ‹๏ธ',
+ '๐Ÿšด',
+ '๐Ÿšด',
+ '๐Ÿšต',
+ '๐Ÿšต',
+ '๐Ÿคธ',
+ '๐Ÿคธ',
+ '๐Ÿคผ',
+ '๐Ÿคผ',
+ '๐Ÿคฝ',
+ '๐Ÿคฝ',
+ '๐Ÿคพ',
+ '๐Ÿคพ',
+ '๐Ÿคน',
+ '๐Ÿคน',
+ '๐Ÿง˜๐Ÿปโ€โ™‚๏ธ',
+ '๐Ÿง˜๐Ÿปโ€โ™€๏ธ',
+ '๐ŸŽช',
+ '๐Ÿ›น',
+ '๐ŸŽ—',
+ '๐ŸŽŸ',
+ '๐ŸŽซ',
+ '๐ŸŽ–',
+ '๐Ÿ†',
+ '๐Ÿ…',
+ '๐Ÿฅ‡',
+ '๐Ÿฅˆ',
+ '๐Ÿฅ‰',
+ 'โšฝ',
+ 'โšพ',
+ '๐ŸฅŽ',
+ '๐Ÿ€',
+ '๐Ÿ',
+ '๐Ÿˆ',
+ '๐Ÿ‰',
+ '๐ŸŽพ',
+ '๐Ÿฅ',
+ '๐ŸŽณ',
+ '๐Ÿ',
+ '๐Ÿ‘',
+ '๐Ÿ’',
+ '๐Ÿฅ',
+ '๐Ÿ“',
+ '๐Ÿธ',
+ '๐ŸฅŠ',
+ '๐Ÿฅ‹',
+ 'โ›ณ',
+ 'โ›ธ',
+ '๐ŸŽฃ',
+ '๐ŸŽฝ',
+ '๐ŸŽฟ',
+ '๐Ÿ›ท',
+ '๐ŸฅŒ',
+ '๐ŸŽฏ',
+ '๐ŸŽฑ',
+ '๐ŸŽฎ',
+ '๐ŸŽฐ',
+ '๐ŸŽฒ',
+ '๐Ÿงฉ',
+ 'โ™Ÿ',
+ '๐ŸŽญ',
+ '๐ŸŽจ',
+ '๐Ÿงต',
+ '๐Ÿงถ',
+ '๐ŸŽผ',
+ '๐ŸŽค',
+ '๐ŸŽง',
+ '๐ŸŽท',
+ '๐ŸŽธ',
+ '๐ŸŽน',
+ '๐ŸŽบ',
+ '๐ŸŽป',
+ '๐Ÿฅ',
+ '๐ŸŽฌ',
+ '๐Ÿน'
+]);
+
+/// Map of all possible emojis along with their names in [Category.OBJECTS]
+final Map<String, String> objects = Map.fromIterables([
+ 'Love Letter',
+ 'Hole',
+ 'Bomb',
+ 'Person Taking Bath',
+ 'Person in Bed',
+ 'Kitchen Knife',
+ 'Amphora',
+ 'World Map',
+ 'Compass',
+ 'Brick',
+ 'Barber Pole',
+ 'Oil Drum',
+ 'Bellhop Bell',
+ 'Luggage',
+ 'Hourglass Done',
+ 'Hourglass Not Done',
+ 'Watch',
+ 'Alarm Clock',
+ 'Stopwatch',
+ 'Timer Clock',
+ 'Mantelpiece Clock',
+ 'Thermometer',
+ 'Umbrella on Ground',
+ 'Firecracker',
+ 'Balloon',
+ 'Party Popper',
+ 'Confetti Ball',
+ 'Japanese Dolls',
+ 'Carp Streamer',
+ 'Wind Chime',
+ 'Red Envelope',
+ 'Ribbon',
+ 'Wrapped Gift',
+ 'Crystal Ball',
+ 'Nazar Amulet',
+ 'Joystick',
+ 'Teddy Bear',
+ 'Framed Picture',
+ 'Thread',
+ 'Yarn',
+ 'Shopping Bags',
+ 'Prayer Beads',
+ 'Gem Stone',
+ 'Postal Horn',
+ 'Studio Microphone',
+ 'Level Slider',
+ 'Control Knobs',
+ 'Radio',
+ 'Mobile Phone',
+ 'Mobile Phone With Arrow',
+ 'Telephone',
+ 'Telephone Receiver',
+ 'Pager',
+ 'Fax Machine',
+ 'Battery',
+ 'Electric Plug',
+ 'Laptop Computer',
+ 'Desktop Computer',
+ 'Printer',
+ 'Keyboard',
+ 'Computer Mouse',
+ 'Trackball',
+ 'Computer Disk',
+ 'Floppy Disk',
+ 'Optical Disk',
+ 'DVD',
+ 'Abacus',
+ 'Movie Camera',
+ 'Film Frames',
+ 'Film Projector',
+ 'Television',
+ 'Camera',
+ 'Camera With Flash',
+ 'Video Camera',
+ 'Videocassette',
+ 'Magnifying Glass Tilted Left',
+ 'Magnifying Glass Tilted Right',
+ 'Candle',
+ 'Light Bulb',
+ 'Flashlight',
+ 'Red Paper Lantern',
+ 'Notebook With Decorative Cover',
+ 'Closed Book',
+ 'Open Book',
+ 'Green Book',
+ 'Blue Book',
+ 'Orange Book',
+ 'Books',
+ 'Notebook',
+ 'Page With Curl',
+ 'Scroll',
+ 'Page Facing Up',
+ 'Newspaper',
+ 'Rolled-Up Newspaper',
+ 'Bookmark Tabs',
+ 'Bookmark',
+ 'Label',
+ 'Money Bag',
+ 'Yen Banknote',
+ 'Dollar Banknote',
+ 'Euro Banknote',
+ 'Pound Banknote',
+ 'Money With Wings',
+ 'Credit Card',
+ 'Receipt',
+ 'Envelope',
+ 'E-Mail',
+ 'Incoming Envelope',
+ 'Envelope With Arrow',
+ 'Outbox Tray',
+ 'Inbox Tray',
+ 'Package',
+ 'Closed Mailbox With Raised Flag',
+ 'Closed Mailbox With Lowered Flag',
+ 'Open Mailbox With Raised Flag',
+ 'Open Mailbox With Lowered Flag',
+ 'Postbox',
+ 'Ballot Box With Ballot',
+ 'Pencil',
+ 'Black Nib',
+ 'Fountain Pen',
+ 'Pen',
+ 'Paintbrush',
+ 'Crayon',
+ 'Memo',
+ 'File Folder',
+ 'Open File Folder',
+ 'Card Index Dividers',
+ 'Calendar',
+ 'Tear-Off Calendar',
+ 'Spiral Notepad',
+ 'Spiral Calendar',
+ 'Card Index',
+ 'Chart Increasing',
+ 'Chart Decreasing',
+ 'Bar Chart',
+ 'Clipboard',
+ 'Pushpin',
+ 'Round Pushpin',
+ 'Paperclip',
+ 'Linked Paperclips',
+ 'Straight Ruler',
+ 'Triangular Ruler',
+ 'Scissors',
+ 'Card File Box',
+ 'File Cabinet',
+ 'Wastebasket',
+ 'Locked',
+ 'Unlocked',
+ 'Locked With Pen',
+ 'Locked With Key',
+ 'Key',
+ 'Old Key',
+ 'Hammer',
+ 'Pick',
+ 'Hammer and Pick',
+ 'Hammer and Wrench',
+ 'Dagger',
+ 'Crossed Swords',
+ 'Pistol',
+ 'Shield',
+ 'Wrench',
+ 'Nut and Bolt',
+ 'Gear',
+ 'Clamp',
+ 'Balance Scale',
+ 'Link',
+ 'Chains',
+ 'Toolbox',
+ 'Magnet',
+ 'Alembic',
+ 'Test Tube',
+ 'Petri Dish',
+ 'DNA',
+ 'Microscope',
+ 'Telescope',
+ 'Satellite Antenna',
+ 'Syringe',
+ 'Pill',
+ 'Door',
+ 'Bed',
+ 'Couch and Lamp',
+ 'Toilet',
+ 'Shower',
+ 'Bathtub',
+ 'Lotion Bottle',
+ 'Safety Pin',
+ 'Broom',
+ 'Basket',
+ 'Roll of Paper',
+ 'Soap',
+ 'Sponge',
+ 'Fire Extinguisher',
+ 'Cigarette',
+ 'Coffin',
+ 'Funeral Urn',
+ 'Moai',
+ 'Potable Water'
+], [
+ '๐Ÿ’Œ',
+ '๐Ÿ•ณ',
+ '๐Ÿ’ฃ',
+ '๐Ÿ›€',
+ '๐Ÿ›Œ',
+ '๐Ÿ”ช',
+ '๐Ÿบ',
+ '๐Ÿ—บ',
+ '๐Ÿงญ',
+ '๐Ÿงฑ',
+ '๐Ÿ’ˆ',
+ '๐Ÿ›ข',
+ '๐Ÿ›Ž',
+ '๐Ÿงณ',
+ 'โŒ›',
+ 'โณ',
+ 'โŒš',
+ 'โฐ',
+ 'โฑ',
+ 'โฒ',
+ '๐Ÿ•ฐ',
+ '๐ŸŒก',
+ 'โ›ฑ',
+ '๐Ÿงจ',
+ '๐ŸŽˆ',
+ '๐ŸŽ‰',
+ '๐ŸŽŠ',
+ '๐ŸŽŽ',
+ '๐ŸŽ',
+ '๐ŸŽ',
+ '๐Ÿงง',
+ '๐ŸŽ€',
+ '๐ŸŽ',
+ '๐Ÿ”ฎ',
+ '๐Ÿงฟ',
+ '๐Ÿ•น',
+ '๐Ÿงธ',
+ '๐Ÿ–ผ',
+ '๐Ÿงต',
+ '๐Ÿงถ',
+ '๐Ÿ›',
+ '๐Ÿ“ฟ',
+ '๐Ÿ’Ž',
+ '๐Ÿ“ฏ',
+ '๐ŸŽ™',
+ '๐ŸŽš',
+ '๐ŸŽ›',
+ '๐Ÿ“ป',
+ '๐Ÿ“ฑ',
+ '๐Ÿ“ฒ',
+ 'โ˜Ž',
+ '๐Ÿ“ž',
+ '๐Ÿ“Ÿ',
+ '๐Ÿ“ ',
+ '๐Ÿ”‹',
+ '๐Ÿ”Œ',
+ '๐Ÿ’ป',
+ '๐Ÿ–ฅ',
+ '๐Ÿ–จ',
+ 'โŒจ',
+ '๐Ÿ–ฑ',
+ '๐Ÿ–ฒ',
+ '๐Ÿ’ฝ',
+ '๐Ÿ’พ',
+ '๐Ÿ’ฟ',
+ '๐Ÿ“€',
+ '๐Ÿงฎ',
+ '๐ŸŽฅ',
+ '๐ŸŽž',
+ '๐Ÿ“ฝ',
+ '๐Ÿ“บ',
+ '๐Ÿ“ท',
+ '๐Ÿ“ธ',
+ '๐Ÿ“น',
+ '๐Ÿ“ผ',
+ '๐Ÿ”',
+ '๐Ÿ”Ž',
+ '๐Ÿ•ฏ',
+ '๐Ÿ’ก',
+ '๐Ÿ”ฆ',
+ '๐Ÿฎ',
+ '๐Ÿ“”',
+ '๐Ÿ“•',
+ '๐Ÿ“–',
+ '๐Ÿ“—',
+ '๐Ÿ“˜',
+ '๐Ÿ“™',
+ '๐Ÿ“š',
+ '๐Ÿ““',
+ '๐Ÿ“ƒ',
+ '๐Ÿ“œ',
+ '๐Ÿ“„',
+ '๐Ÿ“ฐ',
+ '๐Ÿ—ž',
+ '๐Ÿ“‘',
+ '๐Ÿ”–',
+ '๐Ÿท',
+ '๐Ÿ’ฐ',
+ '๐Ÿ’ด',
+ '๐Ÿ’ต',
+ '๐Ÿ’ถ',
+ '๐Ÿ’ท',
+ '๐Ÿ’ธ',
+ '๐Ÿ’ณ',
+ '๐Ÿงพ',
+ 'โœ‰',
+ '๐Ÿ“ง',
+ '๐Ÿ“จ',
+ '๐Ÿ“ฉ',
+ '๐Ÿ“ค',
+ '๐Ÿ“ฅ',
+ '๐Ÿ“ฆ',
+ '๐Ÿ“ซ',
+ '๐Ÿ“ช',
+ '๐Ÿ“ฌ',
+ '๐Ÿ“ญ',
+ '๐Ÿ“ฎ',
+ '๐Ÿ—ณ',
+ 'โœ',
+ 'โœ’',
+ '๐Ÿ–‹',
+ '๐Ÿ–Š',
+ '๐Ÿ–Œ',
+ '๐Ÿ–',
+ '๐Ÿ“',
+ '๐Ÿ“',
+ '๐Ÿ“‚',
+ '๐Ÿ—‚',
+ '๐Ÿ“…',
+ '๐Ÿ“†',
+ '๐Ÿ—’',
+ '๐Ÿ—“',
+ '๐Ÿ“‡',
+ '๐Ÿ“ˆ',
+ '๐Ÿ“‰',
+ '๐Ÿ“Š',
+ '๐Ÿ“‹',
+ '๐Ÿ“Œ',
+ '๐Ÿ“',
+ '๐Ÿ“Ž',
+ '๐Ÿ–‡',
+ '๐Ÿ“',
+ '๐Ÿ“',
+ 'โœ‚',
+ '๐Ÿ—ƒ',
+ '๐Ÿ—„',
+ '๐Ÿ—‘',
+ '๐Ÿ”’',
+ '๐Ÿ”“',
+ '๐Ÿ”',
+ '๐Ÿ”',
+ '๐Ÿ”‘',
+ '๐Ÿ—',
+ '๐Ÿ”จ',
+ 'โ›',
+ 'โš’',
+ '๐Ÿ› ',
+ '๐Ÿ—ก',
+ 'โš”',
+ '๐Ÿ”ซ',
+ '๐Ÿ›ก',
+ '๐Ÿ”ง',
+ '๐Ÿ”ฉ',
+ 'โš™',
+ '๐Ÿ—œ',
+ 'โš–',
+ '๐Ÿ”—',
+ 'โ›“',
+ '๐Ÿงฐ',
+ '๐Ÿงฒ',
+ 'โš—',
+ '๐Ÿงช',
+ '๐Ÿงซ',
+ '๐Ÿงฌ',
+ '๐Ÿ”ฌ',
+ '๐Ÿ”ญ',
+ '๐Ÿ“ก',
+ '๐Ÿ’‰',
+ '๐Ÿ’Š',
+ '๐Ÿšช',
+ '๐Ÿ›',
+ '๐Ÿ›‹',
+ '๐Ÿšฝ',
+ '๐Ÿšฟ',
+ '๐Ÿ›',
+ '๐Ÿงด',
+ '๐Ÿงท',
+ '๐Ÿงน',
+ '๐Ÿงบ',
+ '๐Ÿงป',
+ '๐Ÿงผ',
+ '๐Ÿงฝ',
+ '๐Ÿงฏ',
+ '๐Ÿšฌ',
+ 'โšฐ',
+ 'โšฑ',
+ '๐Ÿ—ฟ',
+ '๐Ÿšฐ'
+]);
+
+/// Map of all possible emojis along with their names in [Category.SYMBOLS]
+final Map<String, String> symbols = Map.fromIterables([
+ 'Heart With Arrow',
+ 'Heart With Ribbon',
+ 'Sparkling Heart',
+ 'Growing Heart',
+ 'Beating Heart',
+ 'Revolving Hearts',
+ 'Two Hearts',
+ 'Heart Decoration',
+ 'Heavy Heart Exclamation',
+ 'Broken Heart',
+ 'Red Heart',
+ 'Orange Heart',
+ 'Yellow Heart',
+ 'Green Heart',
+ 'Blue Heart',
+ 'Purple Heart',
+ 'Black Heart',
+ 'Hundred Points',
+ 'Anger Symbol',
+ 'Speech Balloon',
+ 'Eye in Speech Bubble',
+ 'Right Anger Bubble',
+ 'Thought Balloon',
+ 'Zzz',
+ 'White Flower',
+ 'Hot Springs',
+ 'Barber Pole',
+ 'Stop Sign',
+ 'Twelve Oโ€™Clock',
+ 'Twelve-Thirty',
+ 'One Oโ€™Clock',
+ 'One-Thirty',
+ 'Two Oโ€™Clock',
+ 'Two-Thirty',
+ 'Three Oโ€™Clock',
+ 'Three-Thirty',
+ 'Four Oโ€™Clock',
+ 'Four-Thirty',
+ 'Five Oโ€™Clock',
+ 'Five-Thirty',
+ 'Six Oโ€™Clock',
+ 'Six-Thirty',
+ 'Seven Oโ€™Clock',
+ 'Seven-Thirty',
+ 'Eight Oโ€™Clock',
+ 'Eight-Thirty',
+ 'Nine Oโ€™Clock',
+ 'Nine-Thirty',
+ 'Ten Oโ€™Clock',
+ 'Ten-Thirty',
+ 'Eleven Oโ€™Clock',
+ 'Eleven-Thirty',
+ 'Cyclone',
+ 'Spade Suit',
+ 'Heart Suit',
+ 'Diamond Suit',
+ 'Club Suit',
+ 'Joker',
+ 'Mahjong Red Dragon',
+ 'Flower Playing Cards',
+ 'Muted Speaker',
+ 'Speaker Low Volume',
+ 'Speaker Medium Volume',
+ 'Speaker High Volume',
+ 'Loudspeaker',
+ 'Megaphone',
+ 'Postal Horn',
+ 'Bell',
+ 'Bell With Slash',
+ 'Musical Note',
+ 'Musical Notes',
+ 'ATM Sign',
+ 'Litter in Bin Sign',
+ 'Potable Water',
+ 'Wheelchair Symbol',
+ 'Menโ€™s Room',
+ 'Womenโ€™s Room',
+ 'Restroom',
+ 'Baby Symbol',
+ 'Water Closet',
+ 'Warning',
+ 'Children Crossing',
+ 'No Entry',
+ 'Prohibited',
+ 'No Bicycles',
+ 'No Smoking',
+ 'No Littering',
+ 'Non-Potable Water',
+ 'No Pedestrians',
+ 'No One Under Eighteen',
+ 'Radioactive',
+ 'Biohazard',
+ 'Up Arrow',
+ 'Up-Right Arrow',
+ 'Right Arrow',
+ 'Down-Right Arrow',
+ 'Down Arrow',
+ 'Down-Left Arrow',
+ 'Left Arrow',
+ 'Up-Left Arrow',
+ 'Up-Down Arrow',
+ 'Left-Right Arrow',
+ 'Right Arrow Curving Left',
+ 'Left Arrow Curving Right',
+ 'Right Arrow Curving Up',
+ 'Right Arrow Curving Down',
+ 'Clockwise Vertical Arrows',
+ 'Counterclockwise Arrows Button',
+ 'Back Arrow',
+ 'End Arrow',
+ 'On! Arrow',
+ 'Soon Arrow',
+ 'Top Arrow',
+ 'Place of Worship',
+ 'Atom Symbol',
+ 'Om',
+ 'Star of David',
+ 'Wheel of Dharma',
+ 'Yin Yang',
+ 'Latin Cross',
+ 'Orthodox Cross',
+ 'Star and Crescent',
+ 'Peace Symbol',
+ 'Menorah',
+ 'Dotted Six-Pointed Star',
+ 'Aries',
+ 'Taurus',
+ 'Gemini',
+ 'Cancer',
+ 'Leo',
+ 'Virgo',
+ 'Libra',
+ 'Scorpio',
+ 'Sagittarius',
+ 'Capricorn',
+ 'Aquarius',
+ 'Pisces',
+ 'Ophiuchus',
+ 'Shuffle Tracks Button',
+ 'Repeat Button',
+ 'Repeat Single Button',
+ 'Play Button',
+ 'Fast-Forward Button',
+ 'Reverse Button',
+ 'Fast Reverse Button',
+ 'Upwards Button',
+ 'Fast Up Button',
+ 'Downwards Button',
+ 'Fast Down Button',
+ 'Stop Button',
+ 'Eject Button',
+ 'Cinema',
+ 'Dim Button',
+ 'Bright Button',
+ 'Antenna Bars',
+ 'Vibration Mode',
+ 'Mobile Phone Off',
+ 'Infinity',
+ 'Recycling Symbol',
+ 'Trident Emblem',
+ 'Name Badge',
+ 'Japanese Symbol for Beginner',
+ 'Heavy Large Circle',
+ 'White Heavy Check Mark',
+ 'Ballot Box With Check',
+ 'Heavy Check Mark',
+ 'Heavy Multiplication X',
+ 'Cross Mark',
+ 'Cross Mark Button',
+ 'Heavy Plus Sign',
+ 'Heavy Minus Sign',
+ 'Heavy Division Sign',
+ 'Curly Loop',
+ 'Double Curly Loop',
+ 'Part Alternation Mark',
+ 'Eight-Spoked Asterisk',
+ 'Eight-Pointed Star',
+ 'Sparkle',
+ 'Double Exclamation Mark',
+ 'Exclamation Question Mark',
+ 'Question Mark',
+ 'White Question Mark',
+ 'White Exclamation Mark',
+ 'Exclamation Mark',
+ 'Copyright',
+ 'Registered',
+ 'Trade Mark',
+ 'Keycap Number Sign',
+ 'Keycap Digit Zero',
+ 'Keycap Digit One',
+ 'Keycap Digit Two',
+ 'Keycap Digit Three',
+ 'Keycap Digit Four',
+ 'Keycap Digit Five',
+ 'Keycap Digit Six',
+ 'Keycap Digit Seven',
+ 'Keycap Digit Eight',
+ 'Keycap Digit Nine',
+ 'Keycap: 10',
+ 'Input Latin Uppercase',
+ 'Input Latin Lowercase',
+ 'Input Numbers',
+ 'Input Symbols',
+ 'Input Latin Letters',
+ 'A Button (Blood Type)',
+ 'AB Button (Blood Type)',
+ 'B Button (Blood Type)',
+ 'CL Button',
+ 'Cool Button',
+ 'Free Button',
+ 'Information',
+ 'ID Button',
+ 'Circled M',
+ 'New Button',
+ 'NG Button',
+ 'O Button (Blood Type)',
+ 'OK Button',
+ 'P Button',
+ 'SOS Button',
+ 'Up! Button',
+ 'Vs Button',
+ 'Japanese โ€œHereโ€ Button',
+ 'Japanese โ€œService Chargeโ€ Button',
+ 'Japanese โ€œMonthly Amountโ€ Button',
+ 'Japanese โ€œNot Free of Chargeโ€ Button',
+ 'Japanese โ€œReservedโ€ Button',
+ 'Japanese โ€œBargainโ€ Button',
+ 'Japanese โ€œDiscountโ€ Button',
+ 'Japanese โ€œFree of Chargeโ€ Button',
+ 'Japanese โ€œProhibitedโ€ Button',
+ 'Japanese โ€œAcceptableโ€ Button',
+ 'Japanese โ€œApplicationโ€ Button',
+ 'Japanese โ€œPassing Gradeโ€ Button',
+ 'Japanese โ€œVacancyโ€ Button',
+ 'Japanese โ€œCongratulationsโ€ Button',
+ 'Japanese โ€œSecretโ€ Button',
+ 'Japanese โ€œOpen for Businessโ€ Button',
+ 'Japanese โ€œNo Vacancyโ€ Button',
+ 'Red Circle',
+ 'Blue Circle',
+ 'Black Circle',
+ 'White Circle',
+ 'Black Large Square',
+ 'White Large Square',
+ 'Black Medium Square',
+ 'White Medium Square',
+ 'Black Medium-Small Square',
+ 'White Medium-Small Square',
+ 'Black Small Square',
+ 'White Small Square',
+ 'Large Orange Diamond',
+ 'Large Blue Diamond',
+ 'Small Orange Diamond',
+ 'Small Blue Diamond',
+ 'Red Triangle Pointed Up',
+ 'Red Triangle Pointed Down',
+ 'Diamond With a Dot',
+ 'White Square Button',
+ 'Black Square Button'
+], [
+ '๐Ÿ’˜',
+ '๐Ÿ’',
+ '๐Ÿ’–',
+ '๐Ÿ’—',
+ '๐Ÿ’“',
+ '๐Ÿ’ž',
+ '๐Ÿ’•',
+ '๐Ÿ’Ÿ',
+ 'โฃ',
+ '๐Ÿ’”',
+ 'โค',
+ '๐Ÿงก',
+ '๐Ÿ’›',
+ '๐Ÿ’š',
+ '๐Ÿ’™',
+ '๐Ÿ’œ',
+ '๐Ÿ–ค',
+ '๐Ÿ’ฏ',
+ '๐Ÿ’ข',
+ '๐Ÿ’ฌ',
+ '๐Ÿ‘๏ธโ€๐Ÿ—จ๏ธ',
+ '๐Ÿ—ฏ',
+ '๐Ÿ’ญ',
+ '๐Ÿ’ค',
+ '๐Ÿ’ฎ',
+ 'โ™จ',
+ '๐Ÿ’ˆ',
+ '๐Ÿ›‘',
+ '๐Ÿ•›',
+ '๐Ÿ•ง',
+ '๐Ÿ•',
+ '๐Ÿ•œ',
+ '๐Ÿ•‘',
+ '๐Ÿ•',
+ '๐Ÿ•’',
+ '๐Ÿ•ž',
+ '๐Ÿ•“',
+ '๐Ÿ•Ÿ',
+ '๐Ÿ•”',
+ '๐Ÿ• ',
+ '๐Ÿ••',
+ '๐Ÿ•ก',
+ '๐Ÿ•–',
+ '๐Ÿ•ข',
+ '๐Ÿ•—',
+ '๐Ÿ•ฃ',
+ '๐Ÿ•˜',
+ '๐Ÿ•ค',
+ '๐Ÿ•™',
+ '๐Ÿ•ฅ',
+ '๐Ÿ•š',
+ '๐Ÿ•ฆ',
+ '๐ŸŒ€',
+ 'โ™ ',
+ 'โ™ฅ',
+ 'โ™ฆ',
+ 'โ™ฃ',
+ '๐Ÿƒ',
+ '๐Ÿ€„',
+ '๐ŸŽด',
+ '๐Ÿ”‡',
+ '๐Ÿ”ˆ',
+ '๐Ÿ”‰',
+ '๐Ÿ”Š',
+ '๐Ÿ“ข',
+ '๐Ÿ“ฃ',
+ '๐Ÿ“ฏ',
+ '๐Ÿ””',
+ '๐Ÿ”•',
+ '๐ŸŽต',
+ '๐ŸŽถ',
+ '๐Ÿง',
+ '๐Ÿšฎ',
+ '๐Ÿšฐ',
+ 'โ™ฟ',
+ '๐Ÿšน',
+ '๐Ÿšบ',
+ '๐Ÿšป',
+ '๐Ÿšผ',
+ '๐Ÿšพ',
+ 'โš ',
+ '๐Ÿšธ',
+ 'โ›”',
+ '๐Ÿšซ',
+ '๐Ÿšณ',
+ '๐Ÿšญ',
+ '๐Ÿšฏ',
+ '๐Ÿšฑ',
+ '๐Ÿšท',
+ '๐Ÿ”ž',
+ 'โ˜ข',
+ 'โ˜ฃ',
+ 'โฌ†',
+ 'โ†—',
+ 'โžก',
+ 'โ†˜',
+ 'โฌ‡',
+ 'โ†™',
+ 'โฌ…',
+ 'โ†–',
+ 'โ†•',
+ 'โ†”',
+ 'โ†ฉ',
+ 'โ†ช',
+ 'โคด',
+ 'โคต',
+ '๐Ÿ”ƒ',
+ '๐Ÿ”„',
+ '๐Ÿ”™',
+ '๐Ÿ”š',
+ '๐Ÿ”›',
+ '๐Ÿ”œ',
+ '๐Ÿ”',
+ '๐Ÿ›',
+ 'โš›',
+ '๐Ÿ•‰',
+ 'โœก',
+ 'โ˜ธ',
+ 'โ˜ฏ',
+ 'โœ',
+ 'โ˜ฆ',
+ 'โ˜ช',
+ 'โ˜ฎ',
+ '๐Ÿ•Ž',
+ '๐Ÿ”ฏ',
+ 'โ™ˆ',
+ 'โ™‰',
+ 'โ™Š',
+ 'โ™‹',
+ 'โ™Œ',
+ 'โ™',
+ 'โ™Ž',
+ 'โ™',
+ 'โ™',
+ 'โ™‘',
+ 'โ™’',
+ 'โ™“',
+ 'โ›Ž',
+ '๐Ÿ”€',
+ '๐Ÿ”',
+ '๐Ÿ”‚',
+ 'โ–ถ',
+ 'โฉ',
+ 'โ—€',
+ 'โช',
+ '๐Ÿ”ผ',
+ 'โซ',
+ '๐Ÿ”ฝ',
+ 'โฌ',
+ 'โน',
+ 'โ',
+ '๐ŸŽฆ',
+ '๐Ÿ”…',
+ '๐Ÿ”†',
+ '๐Ÿ“ถ',
+ '๐Ÿ“ณ',
+ '๐Ÿ“ด',
+ 'โ™พ',
+ 'โ™ป',
+ '๐Ÿ”ฑ',
+ '๐Ÿ“›',
+ '๐Ÿ”ฐ',
+ 'โญ•',
+ 'โœ…',
+ 'โ˜‘',
+ 'โœ”',
+ 'โœ–',
+ 'โŒ',
+ 'โŽ',
+ 'โž•',
+ 'โž–',
+ 'โž—',
+ 'โžฐ',
+ 'โžฟ',
+ 'ใ€ฝ',
+ 'โœณ',
+ 'โœด',
+ 'โ‡',
+ 'โ€ผ',
+ 'โ‰',
+ 'โ“',
+ 'โ”',
+ 'โ•',
+ 'โ—',
+ 'ยฉ',
+ 'ยฎ',
+ 'โ„ข',
+ '#๏ธโƒฃ',
+ '0๏ธโƒฃ',
+ '1๏ธโƒฃ',
+ '2๏ธโƒฃ',
+ '3๏ธโƒฃ',
+ '4๏ธโƒฃ',
+ '5๏ธโƒฃ',
+ '6๏ธโƒฃ',
+ '7๏ธโƒฃ',
+ '8๏ธโƒฃ',
+ '9๏ธโƒฃ',
+ '๐Ÿ”Ÿ',
+ '๐Ÿ” ',
+ '๐Ÿ”ก',
+ '๐Ÿ”ข',
+ '๐Ÿ”ฃ',
+ '๐Ÿ”ค',
+ '๐Ÿ…ฐ',
+ '๐Ÿ†Ž',
+ '๐Ÿ…ฑ',
+ '๐Ÿ†‘',
+ '๐Ÿ†’',
+ '๐Ÿ†“',
+ 'โ„น',
+ '๐Ÿ†”',
+ 'โ“‚',
+ '๐Ÿ†•',
+ '๐Ÿ†–',
+ '๐Ÿ…พ',
+ '๐Ÿ†—',
+ '๐Ÿ…ฟ',
+ '๐Ÿ†˜',
+ '๐Ÿ†™',
+ '๐Ÿ†š',
+ '๐Ÿˆ',
+ '๐Ÿˆ‚',
+ '๐Ÿˆท',
+ '๐Ÿˆถ',
+ '๐Ÿˆฏ',
+ '๐Ÿ‰',
+ '๐Ÿˆน',
+ '๐Ÿˆš',
+ '๐Ÿˆฒ',
+ '๐Ÿ‰‘',
+ '๐Ÿˆธ',
+ '๐Ÿˆด',
+ '๐Ÿˆณ',
+ 'ใŠ—',
+ 'ใŠ™',
+ '๐Ÿˆบ',
+ '๐Ÿˆต',
+ '๐Ÿ”ด',
+ '๐Ÿ”ต',
+ 'โšซ',
+ 'โšช',
+ 'โฌ›',
+ 'โฌœ',
+ 'โ—ผ',
+ 'โ—ป',
+ 'โ—พ',
+ 'โ—ฝ',
+ 'โ–ช',
+ 'โ–ซ',
+ '๐Ÿ”ถ',
+ '๐Ÿ”ท',
+ '๐Ÿ”ธ',
+ '๐Ÿ”น',
+ '๐Ÿ”บ',
+ '๐Ÿ”ป',
+ '๐Ÿ’ ',
+ '๐Ÿ”ณ',
+ '๐Ÿ”ฒ'
+]);
+
+/// Map of all possible emojis along with their names in [Category.FLAGS]
+final Map<String, String> flags = Map.fromIterables([
+ 'Chequered Flag',
+ 'Triangular Flag',
+ 'Crossed Flags',
+ 'Black Flag',
+ 'White Flag',
+ 'Rainbow Flag',
+ 'Pirate Flag',
+ 'Flag: Ascension Island',
+ 'Flag: Andorra',
+ 'Flag: United Arab Emirates',
+ 'Flag: Afghanistan',
+ 'Flag: Antigua &amp; Barbuda',
+ 'Flag: Anguilla',
+ 'Flag: Albania',
+ 'Flag: Armenia',
+ 'Flag: Angola',
+ 'Flag: Antarctica',
+ 'Flag: Argentina',
+ 'Flag: American Samoa',
+ 'Flag: Austria',
+ 'Flag: Australia',
+ 'Flag: Aruba',
+ 'Flag: ร…land Islands',
+ 'Flag: Azerbaijan',
+ 'Flag: Bosnia &amp; Herzegovina',
+ 'Flag: Barbados',
+ 'Flag: Bangladesh',
+ 'Flag: Belgium',
+ 'Flag: Burkina Faso',
+ 'Flag: Bulgaria',
+ 'Flag: Bahrain',
+ 'Flag: Burundi',
+ 'Flag: Benin',
+ 'Flag: St. Barthรฉlemy',
+ 'Flag: Bermuda',
+ 'Flag: Brunei',
+ 'Flag: Bolivia',
+ 'Flag: Caribbean Netherlands',
+ 'Flag: Brazil',
+ 'Flag: Bahamas',
+ 'Flag: Bhutan',
+ 'Flag: Bouvet Island',
+ 'Flag: Botswana',
+ 'Flag: Belarus',
+ 'Flag: Belize',
+ 'Flag: Canada',
+ 'Flag: Cocos (Keeling) Islands',
+ 'Flag: Congo - Kinshasa',
+ 'Flag: Central African Republic',
+ 'Flag: Congo - Brazzaville',
+ 'Flag: Switzerland',
+ 'Flag: Cรดte dโ€™Ivoire',
+ 'Flag: Cook Islands',
+ 'Flag: Chile',
+ 'Flag: Cameroon',
+ 'Flag: China',
+ 'Flag: Colombia',
+ 'Flag: Clipperton Island',
+ 'Flag: Costa Rica',
+ 'Flag: Cuba',
+ 'Flag: Cape Verde',
+ 'Flag: Curaรงao',
+ 'Flag: Christmas Island',
+ 'Flag: Cyprus',
+ 'Flag: Czechia',
+ 'Flag: Germany',
+ 'Flag: Diego Garcia',
+ 'Flag: Djibouti',
+ 'Flag: Denmark',
+ 'Flag: Dominica',
+ 'Flag: Dominican Republic',
+ 'Flag: Algeria',
+ 'Flag: Ceuta &amp; Melilla',
+ 'Flag: Ecuador',
+ 'Flag: Estonia',
+ 'Flag: Egypt',
+ 'Flag: Western Sahara',
+ 'Flag: Eritrea',
+ 'Flag: Spain',
+ 'Flag: Ethiopia',
+ 'Flag: European Union',
+ 'Flag: Finland',
+ 'Flag: Fiji',
+ 'Flag: Falkland Islands',
+ 'Flag: Micronesia',
+ 'Flag: Faroe Islands',
+ 'Flag: France',
+ 'Flag: Gabon',
+ 'Flag: United Kingdom',
+ 'Flag: Grenada',
+ 'Flag: Georgia',
+ 'Flag: French Guiana',
+ 'Flag: Guernsey',
+ 'Flag: Ghana',
+ 'Flag: Gibraltar',
+ 'Flag: Greenland',
+ 'Flag: Gambia',
+ 'Flag: Guinea',
+ 'Flag: Guadeloupe',
+ 'Flag: Equatorial Guinea',
+ 'Flag: Greece',
+ 'Flag: South Georgia &amp; South Sandwich Islands',
+ 'Flag: Guatemala',
+ 'Flag: Guam',
+ 'Flag: Guinea-Bissau',
+ 'Flag: Guyana',
+ 'Flag: Hong Kong SAR China',
+ 'Flag: Heard &amp; McDonald Islands',
+ 'Flag: Honduras',
+ 'Flag: Croatia',
+ 'Flag: Haiti',
+ 'Flag: Hungary',
+ 'Flag: Canary Islands',
+ 'Flag: Indonesia',
+ 'Flag: Ireland',
+ 'Flag: Israel',
+ 'Flag: Isle of Man',
+ 'Flag: India',
+ 'Flag: British Indian Ocean Territory',
+ 'Flag: Iraq',
+ 'Flag: Iran',
+ 'Flag: Iceland',
+ 'Flag: Italy',
+ 'Flag: Jersey',
+ 'Flag: Jamaica',
+ 'Flag: Jordan',
+ 'Flag: Japan',
+ 'Flag: Kenya',
+ 'Flag: Kyrgyzstan',
+ 'Flag: Cambodia',
+ 'Flag: Kiribati',
+ 'Flag: Comoros',
+ 'Flag: St. Kitts &amp; Nevis',
+ 'Flag: North Korea',
+ 'Flag: South Korea',
+ 'Flag: Kuwait',
+ 'Flag: Cayman Islands',
+ 'Flag: Kazakhstan',
+ 'Flag: Laos',
+ 'Flag: Lebanon',
+ 'Flag: St. Lucia',
+ 'Flag: Liechtenstein',
+ 'Flag: Sri Lanka',
+ 'Flag: Liberia',
+ 'Flag: Lesotho',
+ 'Flag: Lithuania',
+ 'Flag: Luxembourg',
+ 'Flag: Latvia',
+ 'Flag: Libya',
+ 'Flag: Morocco',
+ 'Flag: Monaco',
+ 'Flag: Moldova',
+ 'Flag: Montenegro',
+ 'Flag: St. Martin',
+ 'Flag: Madagascar',
+ 'Flag: Marshall Islands',
+ 'Flag: North Macedonia',
+ 'Flag: Mali',
+ 'Flag: Myanmar (Burma)',
+ 'Flag: Mongolia',
+ 'Flag: Macau Sar China',
+ 'Flag: Northern Mariana Islands',
+ 'Flag: Martinique',
+ 'Flag: Mauritania',
+ 'Flag: Montserrat',
+ 'Flag: Malta',
+ 'Flag: Mauritius',
+ 'Flag: Maldives',
+ 'Flag: Malawi',
+ 'Flag: Mexico',
+ 'Flag: Malaysia',
+ 'Flag: Mozambique',
+ 'Flag: Namibia',
+ 'Flag: New Caledonia',
+ 'Flag: Niger',
+ 'Flag: Norfolk Island',
+ 'Flag: Nigeria',
+ 'Flag: Nicaragua',
+ 'Flag: Netherlands',
+ 'Flag: Norway',
+ 'Flag: Nepal',
+ 'Flag: Nauru',
+ 'Flag: Niue',
+ 'Flag: New Zealand',
+ 'Flag: Oman',
+ 'Flag: Panama',
+ 'Flag: Peru',
+ 'Flag: French Polynesia',
+ 'Flag: Papua New Guinea',
+ 'Flag: Philippines',
+ 'Flag: Pakistan',
+ 'Flag: Poland',
+ 'Flag: St. Pierre &amp; Miquelon',
+ 'Flag: Pitcairn Islands',
+ 'Flag: Puerto Rico',
+ 'Flag: Palestinian Territories',
+ 'Flag: Portugal',
+ 'Flag: Palau',
+ 'Flag: Paraguay',
+ 'Flag: Qatar',
+ 'Flag: Rรฉunion',
+ 'Flag: Romania',
+ 'Flag: Serbia',
+ 'Flag: Russia',
+ 'Flag: Rwanda',
+ 'Flag: Saudi Arabia',
+ 'Flag: Solomon Islands',
+ 'Flag: Seychelles',
+ 'Flag: Sudan',
+ 'Flag: Sweden',
+ 'Flag: Singapore',
+ 'Flag: St. Helena',
+ 'Flag: Slovenia',
+ 'Flag: Svalbard &amp; Jan Mayen',
+ 'Flag: Slovakia',
+ 'Flag: Sierra Leone',
+ 'Flag: San Marino',
+ 'Flag: Senegal',
+ 'Flag: Somalia',
+ 'Flag: Suriname',
+ 'Flag: South Sudan',
+ 'Flag: Sรฃo Tomรฉ &amp; Prรญncipe',
+ 'Flag: El Salvador',
+ 'Flag: Sint Maarten',
+ 'Flag: Syria',
+ 'Flag: Swaziland',
+ 'Flag: Tristan Da Cunha',
+ 'Flag: Turks &amp; Caicos Islands',
+ 'Flag: Chad',
+ 'Flag: French Southern Territories',
+ 'Flag: Togo',
+ 'Flag: Thailand',
+ 'Flag: Tajikistan',
+ 'Flag: Tokelau',
+ 'Flag: Timor-Leste',
+ 'Flag: Turkmenistan',
+ 'Flag: Tunisia',
+ 'Flag: Tonga',
+ 'Flag: Turkey',
+ 'Flag: Trinidad &amp; Tobago',
+ 'Flag: Tuvalu',
+ 'Flag: Taiwan',
+ 'Flag: Tanzania',
+ 'Flag: Ukraine',
+ 'Flag: Uganda',
+ 'Flag: U.S. Outlying Islands',
+ 'Flag: United Nations',
+ 'Flag: United States',
+ 'Flag: Uruguay',
+ 'Flag: Uzbekistan',
+ 'Flag: Vatican City',
+ 'Flag: St. Vincent &amp; Grenadines',
+ 'Flag: Venezuela',
+ 'Flag: British Virgin Islands',
+ 'Flag: U.S. Virgin Islands',
+ 'Flag: Vietnam',
+ 'Flag: Vanuatu',
+ 'Flag: Wallis &amp; Futuna',
+ 'Flag: Samoa',
+ 'Flag: Kosovo',
+ 'Flag: Yemen',
+ 'Flag: Mayotte',
+ 'Flag: South Africa',
+ 'Flag: Zambia',
+ 'Flag: Zimbabwe'
+], [
+ '๐Ÿ',
+ '๐Ÿšฉ',
+ '๐ŸŽŒ',
+ '๐Ÿด',
+ '๐Ÿณ',
+ '๐Ÿณ๏ธโ€๐ŸŒˆ',
+ '๐Ÿดโ€โ˜ ๏ธ',
+ '๐Ÿ‡ฆ๐Ÿ‡จ',
+ '๐Ÿ‡ฆ๐Ÿ‡ฉ',
+ '๐Ÿ‡ฆ๐Ÿ‡ช',
+ '๐Ÿ‡ฆ๐Ÿ‡ซ',
+ '๐Ÿ‡ฆ๐Ÿ‡ฌ',
+ '๐Ÿ‡ฆ๐Ÿ‡ฎ',
+ '๐Ÿ‡ฆ๐Ÿ‡ฑ',
+ '๐Ÿ‡ฆ๐Ÿ‡ฒ',
+ '๐Ÿ‡ฆ๐Ÿ‡ด',
+ '๐Ÿ‡ฆ๐Ÿ‡ถ',
+ '๐Ÿ‡ฆ๐Ÿ‡ท',
+ '๐Ÿ‡ฆ๐Ÿ‡ธ',
+ '๐Ÿ‡ฆ๐Ÿ‡น',
+ '๐Ÿ‡ฆ๐Ÿ‡บ',
+ '๐Ÿ‡ฆ๐Ÿ‡ผ',
+ '๐Ÿ‡ฆ๐Ÿ‡ฝ',
+ '๐Ÿ‡ฆ๐Ÿ‡ฟ',
+ '๐Ÿ‡ง๐Ÿ‡ฆ',
+ '๐Ÿ‡ง๐Ÿ‡ง',
+ '๐Ÿ‡ง๐Ÿ‡ฉ',
+ '๐Ÿ‡ง๐Ÿ‡ช',
+ '๐Ÿ‡ง๐Ÿ‡ซ',
+ '๐Ÿ‡ง๐Ÿ‡ฌ',
+ '๐Ÿ‡ง๐Ÿ‡ญ',
+ '๐Ÿ‡ง๐Ÿ‡ฎ',
+ '๐Ÿ‡ง๐Ÿ‡ฏ',
+ '๐Ÿ‡ง๐Ÿ‡ฑ',
+ '๐Ÿ‡ง๐Ÿ‡ฒ',
+ '๐Ÿ‡ง๐Ÿ‡ณ',
+ '๐Ÿ‡ง๐Ÿ‡ด',
+ '๐Ÿ‡ง๐Ÿ‡ถ',
+ '๐Ÿ‡ง๐Ÿ‡ท',
+ '๐Ÿ‡ง๐Ÿ‡ธ',
+ '๐Ÿ‡ง๐Ÿ‡น',
+ '๐Ÿ‡ง๐Ÿ‡ป',
+ '๐Ÿ‡ง๐Ÿ‡ผ',
+ '๐Ÿ‡ง๐Ÿ‡พ',
+ '๐Ÿ‡ง๐Ÿ‡ฟ',
+ '๐Ÿ‡จ๐Ÿ‡ฆ',
+ '๐Ÿ‡จ๐Ÿ‡จ',
+ '๐Ÿ‡จ๐Ÿ‡ฉ',
+ '๐Ÿ‡จ๐Ÿ‡ซ',
+ '๐Ÿ‡จ๐Ÿ‡ฌ',
+ '๐Ÿ‡จ๐Ÿ‡ญ',
+ '๐Ÿ‡จ๐Ÿ‡ฎ',
+ '๐Ÿ‡จ๐Ÿ‡ฐ',
+ '๐Ÿ‡จ๐Ÿ‡ฑ',
+ '๐Ÿ‡จ๐Ÿ‡ฒ',
+ '๐Ÿ‡จ๐Ÿ‡ณ',
+ '๐Ÿ‡จ๐Ÿ‡ด',
+ '๐Ÿ‡จ๐Ÿ‡ต',
+ '๐Ÿ‡จ๐Ÿ‡ท',
+ '๐Ÿ‡จ๐Ÿ‡บ',
+ '๐Ÿ‡จ๐Ÿ‡ป',
+ '๐Ÿ‡จ๐Ÿ‡ผ',
+ '๐Ÿ‡จ๐Ÿ‡ฝ',
+ '๐Ÿ‡จ๐Ÿ‡พ',
+ '๐Ÿ‡จ๐Ÿ‡ฟ',
+ '๐Ÿ‡ฉ๐Ÿ‡ช',
+ '๐Ÿ‡ฉ๐Ÿ‡ฌ',
+ '๐Ÿ‡ฉ๐Ÿ‡ฏ',
+ '๐Ÿ‡ฉ๐Ÿ‡ฐ',
+ '๐Ÿ‡ฉ๐Ÿ‡ฒ',
+ '๐Ÿ‡ฉ๐Ÿ‡ด',
+ '๐Ÿ‡ฉ๐Ÿ‡ฟ',
+ '๐Ÿ‡ช๐Ÿ‡ฆ',
+ '๐Ÿ‡ช๐Ÿ‡จ',
+ '๐Ÿ‡ช๐Ÿ‡ช',
+ '๐Ÿ‡ช๐Ÿ‡ฌ',
+ '๐Ÿ‡ช๐Ÿ‡ญ',
+ '๐Ÿ‡ช๐Ÿ‡ท',
+ '๐Ÿ‡ช๐Ÿ‡ธ',
+ '๐Ÿ‡ช๐Ÿ‡น',
+ '๐Ÿ‡ช๐Ÿ‡บ',
+ '๐Ÿ‡ซ๐Ÿ‡ฎ',
+ '๐Ÿ‡ซ๐Ÿ‡ฏ',
+ '๐Ÿ‡ซ๐Ÿ‡ฐ',
+ '๐Ÿ‡ซ๐Ÿ‡ฒ',
+ '๐Ÿ‡ซ๐Ÿ‡ด',
+ '๐Ÿ‡ซ๐Ÿ‡ท',
+ '๐Ÿ‡ฌ๐Ÿ‡ฆ',
+ '๐Ÿ‡ฌ๐Ÿ‡ง',
+ '๐Ÿ‡ฌ๐Ÿ‡ฉ',
+ '๐Ÿ‡ฌ๐Ÿ‡ช',
+ '๐Ÿ‡ฌ๐Ÿ‡ซ',
+ '๐Ÿ‡ฌ๐Ÿ‡ฌ',
+ '๐Ÿ‡ฌ๐Ÿ‡ญ',
+ '๐Ÿ‡ฌ๐Ÿ‡ฎ',
+ '๐Ÿ‡ฌ๐Ÿ‡ฑ',
+ '๐Ÿ‡ฌ๐Ÿ‡ฒ',
+ '๐Ÿ‡ฌ๐Ÿ‡ณ',
+ '๐Ÿ‡ฌ๐Ÿ‡ต',
+ '๐Ÿ‡ฌ๐Ÿ‡ถ',
+ '๐Ÿ‡ฌ๐Ÿ‡ท',
+ '๐Ÿ‡ฌ๐Ÿ‡ธ',
+ '๐Ÿ‡ฌ๐Ÿ‡น',
+ '๐Ÿ‡ฌ๐Ÿ‡บ',
+ '๐Ÿ‡ฌ๐Ÿ‡ผ',
+ '๐Ÿ‡ฌ๐Ÿ‡พ',
+ '๐Ÿ‡ญ๐Ÿ‡ฐ',
+ '๐Ÿ‡ญ๐Ÿ‡ฒ',
+ '๐Ÿ‡ญ๐Ÿ‡ณ',
+ '๐Ÿ‡ญ๐Ÿ‡ท',
+ '๐Ÿ‡ญ๐Ÿ‡น',
+ '๐Ÿ‡ญ๐Ÿ‡บ',
+ '๐Ÿ‡ฎ๐Ÿ‡จ',
+ '๐Ÿ‡ฎ๐Ÿ‡ฉ',
+ '๐Ÿ‡ฎ๐Ÿ‡ช',
+ '๐Ÿ‡ฎ๐Ÿ‡ฑ',
+ '๐Ÿ‡ฎ๐Ÿ‡ฒ',
+ '๐Ÿ‡ฎ๐Ÿ‡ณ',
+ '๐Ÿ‡ฎ๐Ÿ‡ด',
+ '๐Ÿ‡ฎ๐Ÿ‡ถ',
+ '๐Ÿ‡ฎ๐Ÿ‡ท',
+ '๐Ÿ‡ฎ๐Ÿ‡ธ',
+ '๐Ÿ‡ฎ๐Ÿ‡น',
+ '๐Ÿ‡ฏ๐Ÿ‡ช',
+ '๐Ÿ‡ฏ๐Ÿ‡ฒ',
+ '๐Ÿ‡ฏ๐Ÿ‡ด',
+ '๐Ÿ‡ฏ๐Ÿ‡ต',
+ '๐Ÿ‡ฐ๐Ÿ‡ช',
+ '๐Ÿ‡ฐ๐Ÿ‡ฌ',
+ '๐Ÿ‡ฐ๐Ÿ‡ญ',
+ '๐Ÿ‡ฐ๐Ÿ‡ฎ',
+ '๐Ÿ‡ฐ๐Ÿ‡ฒ',
+ '๐Ÿ‡ฐ๐Ÿ‡ณ',
+ '๐Ÿ‡ฐ๐Ÿ‡ต',
+ '๐Ÿ‡ฐ๐Ÿ‡ท',
+ '๐Ÿ‡ฐ๐Ÿ‡ผ',
+ '๐Ÿ‡ฐ๐Ÿ‡พ',
+ '๐Ÿ‡ฐ๐Ÿ‡ฟ',
+ '๐Ÿ‡ฑ๐Ÿ‡ฆ',
+ '๐Ÿ‡ฑ๐Ÿ‡ง',
+ '๐Ÿ‡ฑ๐Ÿ‡จ',
+ '๐Ÿ‡ฑ๐Ÿ‡ฎ',
+ '๐Ÿ‡ฑ๐Ÿ‡ฐ',
+ '๐Ÿ‡ฑ๐Ÿ‡ท',
+ '๐Ÿ‡ฑ๐Ÿ‡ธ',
+ '๐Ÿ‡ฑ๐Ÿ‡น',
+ '๐Ÿ‡ฑ๐Ÿ‡บ',
+ '๐Ÿ‡ฑ๐Ÿ‡ป',
+ '๐Ÿ‡ฑ๐Ÿ‡พ',
+ '๐Ÿ‡ฒ๐Ÿ‡ฆ',
+ '๐Ÿ‡ฒ๐Ÿ‡จ',
+ '๐Ÿ‡ฒ๐Ÿ‡ฉ',
+ '๐Ÿ‡ฒ๐Ÿ‡ช',
+ '๐Ÿ‡ฒ๐Ÿ‡ซ',
+ '๐Ÿ‡ฒ๐Ÿ‡ฌ',
+ '๐Ÿ‡ฒ๐Ÿ‡ญ',
+ '๐Ÿ‡ฒ๐Ÿ‡ฐ',
+ '๐Ÿ‡ฒ๐Ÿ‡ฑ',
+ '๐Ÿ‡ฒ๐Ÿ‡ฒ',
+ '๐Ÿ‡ฒ๐Ÿ‡ณ',
+ '๐Ÿ‡ฒ๐Ÿ‡ด',
+ '๐Ÿ‡ฒ๐Ÿ‡ต',
+ '๐Ÿ‡ฒ๐Ÿ‡ถ',
+ '๐Ÿ‡ฒ๐Ÿ‡ท',
+ '๐Ÿ‡ฒ๐Ÿ‡ธ',
+ '๐Ÿ‡ฒ๐Ÿ‡น',
+ '๐Ÿ‡ฒ๐Ÿ‡บ',
+ '๐Ÿ‡ฒ๐Ÿ‡ป',
+ '๐Ÿ‡ฒ๐Ÿ‡ผ',
+ '๐Ÿ‡ฒ๐Ÿ‡ฝ',
+ '๐Ÿ‡ฒ๐Ÿ‡พ',
+ '๐Ÿ‡ฒ๐Ÿ‡ฟ',
+ '๐Ÿ‡ณ๐Ÿ‡ฆ',
+ '๐Ÿ‡ณ๐Ÿ‡จ',
+ '๐Ÿ‡ณ๐Ÿ‡ช',
+ '๐Ÿ‡ณ๐Ÿ‡ซ',
+ '๐Ÿ‡ณ๐Ÿ‡ฌ',
+ '๐Ÿ‡ณ๐Ÿ‡ฎ',
+ '๐Ÿ‡ณ๐Ÿ‡ฑ',
+ '๐Ÿ‡ณ๐Ÿ‡ด',
+ '๐Ÿ‡ณ๐Ÿ‡ต',
+ '๐Ÿ‡ณ๐Ÿ‡ท',
+ '๐Ÿ‡ณ๐Ÿ‡บ',
+ '๐Ÿ‡ณ๐Ÿ‡ฟ',
+ '๐Ÿ‡ด๐Ÿ‡ฒ',
+ '๐Ÿ‡ต๐Ÿ‡ฆ',
+ '๐Ÿ‡ต๐Ÿ‡ช',
+ '๐Ÿ‡ต๐Ÿ‡ซ',
+ '๐Ÿ‡ต๐Ÿ‡ฌ',
+ '๐Ÿ‡ต๐Ÿ‡ญ',
+ '๐Ÿ‡ต๐Ÿ‡ฐ',
+ '๐Ÿ‡ต๐Ÿ‡ฑ',
+ '๐Ÿ‡ต๐Ÿ‡ฒ',
+ '๐Ÿ‡ต๐Ÿ‡ณ',
+ '๐Ÿ‡ต๐Ÿ‡ท',
+ '๐Ÿ‡ต๐Ÿ‡ธ',
+ '๐Ÿ‡ต๐Ÿ‡น',
+ '๐Ÿ‡ต๐Ÿ‡ผ',
+ '๐Ÿ‡ต๐Ÿ‡พ',
+ '๐Ÿ‡ถ๐Ÿ‡ฆ',
+ '๐Ÿ‡ท๐Ÿ‡ช',
+ '๐Ÿ‡ท๐Ÿ‡ด',
+ '๐Ÿ‡ท๐Ÿ‡ธ',
+ '๐Ÿ‡ท๐Ÿ‡บ',
+ '๐Ÿ‡ท๐Ÿ‡ผ',
+ '๐Ÿ‡ธ๐Ÿ‡ฆ',
+ '๐Ÿ‡ธ๐Ÿ‡ง',
+ '๐Ÿ‡ธ๐Ÿ‡จ',
+ '๐Ÿ‡ธ๐Ÿ‡ฉ',
+ '๐Ÿ‡ธ๐Ÿ‡ช',
+ '๐Ÿ‡ธ๐Ÿ‡ฌ',
+ '๐Ÿ‡ธ๐Ÿ‡ญ',
+ '๐Ÿ‡ธ๐Ÿ‡ฎ',
+ '๐Ÿ‡ธ๐Ÿ‡ฏ',
+ '๐Ÿ‡ธ๐Ÿ‡ฐ',
+ '๐Ÿ‡ธ๐Ÿ‡ฑ',
+ '๐Ÿ‡ธ๐Ÿ‡ฒ',
+ '๐Ÿ‡ธ๐Ÿ‡ณ',
+ '๐Ÿ‡ธ๐Ÿ‡ด',
+ '๐Ÿ‡ธ๐Ÿ‡ท',
+ '๐Ÿ‡ธ๐Ÿ‡ธ',
+ '๐Ÿ‡ธ๐Ÿ‡น',
+ '๐Ÿ‡ธ๐Ÿ‡ป',
+ '๐Ÿ‡ธ๐Ÿ‡ฝ',
+ '๐Ÿ‡ธ๐Ÿ‡พ',
+ '๐Ÿ‡ธ๐Ÿ‡ฟ',
+ '๐Ÿ‡น๐Ÿ‡ฆ',
+ '๐Ÿ‡น๐Ÿ‡จ',
+ '๐Ÿ‡น๐Ÿ‡ฉ',
+ '๐Ÿ‡น๐Ÿ‡ซ',
+ '๐Ÿ‡น๐Ÿ‡ฌ',
+ '๐Ÿ‡น๐Ÿ‡ญ',
+ '๐Ÿ‡น๐Ÿ‡ฏ',
+ '๐Ÿ‡น๐Ÿ‡ฐ',
+ '๐Ÿ‡น๐Ÿ‡ฑ',
+ '๐Ÿ‡น๐Ÿ‡ฒ',
+ '๐Ÿ‡น๐Ÿ‡ณ',
+ '๐Ÿ‡น๐Ÿ‡ด',
+ '๐Ÿ‡น๐Ÿ‡ท',
+ '๐Ÿ‡น๐Ÿ‡น',
+ '๐Ÿ‡น๐Ÿ‡ป',
+ '๐Ÿ‡น๐Ÿ‡ผ',
+ '๐Ÿ‡น๐Ÿ‡ฟ',
+ '๐Ÿ‡บ๐Ÿ‡ฆ',
+ '๐Ÿ‡บ๐Ÿ‡ฌ',
+ '๐Ÿ‡บ๐Ÿ‡ฒ',
+ '๐Ÿ‡บ๐Ÿ‡ณ',
+ '๐Ÿ‡บ๐Ÿ‡ธ',
+ '๐Ÿ‡บ๐Ÿ‡พ',
+ '๐Ÿ‡บ๐Ÿ‡ฟ',
+ '๐Ÿ‡ป๐Ÿ‡ฆ',
+ '๐Ÿ‡ป๐Ÿ‡จ',
+ '๐Ÿ‡ป๐Ÿ‡ช',
+ '๐Ÿ‡ป๐Ÿ‡ฌ',
+ '๐Ÿ‡ป๐Ÿ‡ฎ',
+ '๐Ÿ‡ป๐Ÿ‡ณ',
+ '๐Ÿ‡ป๐Ÿ‡บ',
+ '๐Ÿ‡ผ๐Ÿ‡ซ',
+ '๐Ÿ‡ผ๐Ÿ‡ธ',
+ '๐Ÿ‡ฝ๐Ÿ‡ฐ',
+ '๐Ÿ‡พ๐Ÿ‡ช',
+ '๐Ÿ‡พ๐Ÿ‡น',
+ '๐Ÿ‡ฟ๐Ÿ‡ฆ',
+ '๐Ÿ‡ฟ๐Ÿ‡ฒ',
+ '๐Ÿ‡ฟ๐Ÿ‡ผ'
+]);
diff --git a/frontend/app_flowy/packages/appflowy_editor_plugins/lib/src/emoji_picker/src/emoji_picker.dart b/frontend/app_flowy/packages/appflowy_editor_plugins/lib/src/emoji_picker/src/emoji_picker.dart
new file mode 100644
index 0000000000..8852b12799
--- /dev/null
+++ b/frontend/app_flowy/packages/appflowy_editor_plugins/lib/src/emoji_picker/src/emoji_picker.dart
@@ -0,0 +1,312 @@
+// ignore_for_file: constant_identifier_names
+
+import 'dart:convert';
+import 'dart:io';
+import 'dart:math';
+
+import 'package:flutter/material.dart';
+import 'package:flutter/services.dart';
+import 'package:shared_preferences/shared_preferences.dart';
+import 'models/category_models.dart';
+import 'config.dart';
+import 'default_emoji_picker_view.dart';
+import 'models/emoji_model.dart';
+import 'emoji_lists.dart' as emoji_list;
+import 'emoji_view_state.dart';
+import 'models/recent_emoji_model.dart';
+
+/// All the possible categories that [Emoji] can be put into
+///
+/// All [Category] are shown in the category bar
+enum Category {
+ /// Searched emojis
+ SEARCH,
+
+ /// Recent emojis
+ RECENT,
+
+ /// Smiley emojis
+ SMILEYS,
+
+ /// Animal emojis
+ ANIMALS,
+
+ /// Food emojis
+ FOODS,
+
+ /// Activity emojis
+ ACTIVITIES,
+
+ /// Travel emojis
+ TRAVEL,
+
+ /// Objects emojis
+ OBJECTS,
+
+ /// Sumbol emojis
+ SYMBOLS,
+
+ /// Flag emojis
+ FLAGS,
+}
+
+/// Enum to alter the keyboard button style
+enum ButtonMode {
+ /// Android button style - gives the button a splash color with ripple effect
+ MATERIAL,
+
+ /// iOS button style - gives the button a fade out effect when pressed
+ CUPERTINO
+}
+
+/// Callback function for when emoji is selected
+///
+/// The function returns the selected [Emoji] as well
+/// as the [Category] from which it originated
+typedef OnEmojiSelected = void Function(Category category, Emoji emoji);
+
+/// Callback function for backspace button
+typedef OnBackspacePressed = void Function();
+
+/// Callback function for custom view
+typedef EmojiViewBuilder = Widget Function(Config config, EmojiViewState state);
+
+/// The Emoji Keyboard widget
+///
+/// This widget displays a grid of [Emoji] sorted by [Category]
+/// which the user can horizontally scroll through.
+///
+/// There is also a bottombar which displays all the possible [Category]
+/// and allow the user to quickly switch to that [Category]
+class EmojiPicker extends StatefulWidget {
+ /// EmojiPicker for flutter
+ const EmojiPicker({
+ Key? key,
+ required this.onEmojiSelected,
+ this.onBackspacePressed,
+ this.config = const Config(),
+ this.customWidget,
+ }) : super(key: key);
+
+ /// Custom widget
+ final EmojiViewBuilder? customWidget;
+
+ /// The function called when the emoji is selected
+ final OnEmojiSelected onEmojiSelected;
+
+ /// The function called when backspace button is pressed
+ final OnBackspacePressed? onBackspacePressed;
+
+ /// Config for customizations
+ final Config config;
+
+ @override
+ EmojiPickerState createState() => EmojiPickerState();
+}
+
+class EmojiPickerState extends State<EmojiPicker> {
+ static const platform = MethodChannel('emoji_picker_flutter');
+
+ List<CategoryEmoji> categoryEmoji = List.empty(growable: true);
+ List<RecentEmoji> recentEmoji = List.empty(growable: true);
+ late Future<void> updateEmojiFuture;
+
+ // Prevent emojis to be reloaded with every build
+ bool loaded = false;
+
+ @override
+ void initState() {
+ super.initState();
+ updateEmojiFuture = _updateEmojis();
+ }
+
+ @override
+ void didUpdateWidget(covariant EmojiPicker oldWidget) {
+ if (oldWidget.config != widget.config) {
+ // Config changed - rebuild EmojiPickerView completely
+ loaded = false;
+ updateEmojiFuture = _updateEmojis();
+ }
+ super.didUpdateWidget(oldWidget);
+ }
+
+ @override
+ Widget build(BuildContext context) {
+ if (!loaded) {
+ // Load emojis
+ updateEmojiFuture.then(
+ (value) => WidgetsBinding.instance.addPostFrameCallback((_) {
+ if (!mounted) return;
+ setState(() {
+ loaded = true;
+ });
+ }),
+ );
+
+ // Show loading indicator
+ return const Center(child: CircularProgressIndicator());
+ }
+ if (widget.config.showRecentsTab) {
+ categoryEmoji[0].emoji =
+ recentEmoji.map((e) => e.emoji).toList().cast<Emoji>();
+ }
+
+ var state = EmojiViewState(
+ categoryEmoji,
+ _getOnEmojiListener(),
+ widget.onBackspacePressed,
+ );
+
+ // Build
+ return widget.customWidget == null
+ ? DefaultEmojiPickerView(widget.config, state)
+ : widget.customWidget!(widget.config, state);
+ }
+
+ // Add recent emoji handling to tap listener
+ OnEmojiSelected _getOnEmojiListener() {
+ return (category, emoji) {
+ if (widget.config.showRecentsTab) {
+ _addEmojiToRecentlyUsed(emoji).then((value) {
+ if (category != Category.RECENT && mounted) {
+ setState(() {
+ // rebuild to update recent emoji tab
+ // when it is not current tab
+ });
+ }
+ });
+ }
+ widget.onEmojiSelected(category, emoji);
+ };
+ }
+
+ // Initialize emoji data
+ Future<void> _updateEmojis() async {
+ categoryEmoji.clear();
+ if (widget.config.showRecentsTab) {
+ recentEmoji = await _getRecentEmojis();
+ final List<Emoji> recentEmojiMap =
+ recentEmoji.map((e) => e.emoji).toList().cast<Emoji>();
+ categoryEmoji.add(CategoryEmoji(Category.RECENT, recentEmojiMap));
+ }
+ categoryEmoji.addAll([
+ CategoryEmoji(Category.SMILEYS,
+ await _getAvailableEmojis(emoji_list.smileys, title: 'smileys')),
+ CategoryEmoji(Category.ANIMALS,
+ await _getAvailableEmojis(emoji_list.animals, title: 'animals')),
+ CategoryEmoji(Category.FOODS,
+ await _getAvailableEmojis(emoji_list.foods, title: 'foods')),
+ CategoryEmoji(
+ Category.ACTIVITIES,
+ await _getAvailableEmojis(emoji_list.activities,
+ title: 'activities')),
+ CategoryEmoji(Category.TRAVEL,
+ await _getAvailableEmojis(emoji_list.travel, title: 'travel')),
+ CategoryEmoji(Category.OBJECTS,
+ await _getAvailableEmojis(emoji_list.objects, title: 'objects')),
+ CategoryEmoji(Category.SYMBOLS,
+ await _getAvailableEmojis(emoji_list.symbols, title: 'symbols')),
+ CategoryEmoji(Category.FLAGS,
+ await _getAvailableEmojis(emoji_list.flags, title: 'flags'))
+ ]);
+ }
+
+ // Get available emoji for given category title
+ Future<List<Emoji>> _getAvailableEmojis(Map<String, String> map,
+ {required String title}) async {
+ Map<String, String>? newMap;
+
+ // Get Emojis cached locally if available
+ newMap = await _restoreFilteredEmojis(title);
+
+ if (newMap == null) {
+ // Check if emoji is available on this platform
+ newMap = await _getPlatformAvailableEmoji(map);
+ // Save available Emojis to local storage for faster loading next time
+ if (newMap != null) {
+ await _cacheFilteredEmojis(title, newMap);
+ }
+ }
+
+ // Map to Emoji Object
+ return newMap!.entries
+ .map<Emoji>((entry) => Emoji(entry.key, entry.value))
+ .toList();
+ }
+
+ // Check if emoji is available on current platform
+ Future<Map<String, String>?> _getPlatformAvailableEmoji(
+ Map<String, String> emoji) async {
+ if (Platform.isAndroid) {
+ Map<String, String>? filtered = {};
+ var delimiter = '|';
+ try {
+ var entries = emoji.values.join(delimiter);
+ var keys = emoji.keys.join(delimiter);
+ var result = (await platform.invokeMethod<String>('checkAvailability',
+ {'emojiKeys': keys, 'emojiEntries': entries})) as String;
+ var resultKeys = result.split(delimiter);
+ for (var i = 0; i < resultKeys.length; i++) {
+ filtered[resultKeys[i]] = emoji[resultKeys[i]]!;
+ }
+ } on PlatformException catch (_) {
+ filtered = null;
+ }
+ return filtered;
+ } else {
+ return emoji;
+ }
+ }
+
+ // Restore locally cached emoji
+ Future<Map<String, String>?> _restoreFilteredEmojis(String title) async {
+ final prefs = await SharedPreferences.getInstance();
+ var emojiJson = prefs.getString(title);
+ if (emojiJson == null) {
+ return null;
+ }
+ var emojis =
+ Map<String, String>.from(jsonDecode(emojiJson) as Map<String, dynamic>);
+ return emojis;
+ }
+
+ // Stores filtered emoji locally for faster access next time
+ Future<void> _cacheFilteredEmojis(
+ String title, Map<String, String> emojis) async {
+ final prefs = await SharedPreferences.getInstance();
+ var emojiJson = jsonEncode(emojis);
+ prefs.setString(title, emojiJson);
+ }
+
+ // Returns list of recently used emoji from cache
+ Future<List<RecentEmoji>> _getRecentEmojis() async {
+ final prefs = await SharedPreferences.getInstance();
+ var emojiJson = prefs.getString('recent');
+ if (emojiJson == null) {
+ return [];
+ }
+ var json = jsonDecode(emojiJson) as List<dynamic>;
+ return json.map<RecentEmoji>(RecentEmoji.fromJson).toList();
+ }
+
+ // Add an emoji to recently used list or increase its counter
+ Future<void> _addEmojiToRecentlyUsed(Emoji emoji) async {
+ final prefs = await SharedPreferences.getInstance();
+ var recentEmojiIndex =
+ recentEmoji.indexWhere((element) => element.emoji.emoji == emoji.emoji);
+ if (recentEmojiIndex != -1) {
+ // Already exist in recent list
+ // Just update counter
+ recentEmoji[recentEmojiIndex].counter++;
+ } else {
+ recentEmoji.add(RecentEmoji(emoji, 1));
+ }
+ // Sort by counter desc
+ recentEmoji.sort((a, b) => b.counter - a.counter);
+ // Limit entries to recentsLimit
+ recentEmoji = recentEmoji.sublist(
+ 0, min(widget.config.recentsLimit, recentEmoji.length));
+ // save locally
+ prefs.setString('recent', jsonEncode(recentEmoji));
+ }
+}
diff --git a/frontend/app_flowy/packages/appflowy_editor_plugins/lib/src/emoji_picker/src/emoji_picker_builder.dart b/frontend/app_flowy/packages/appflowy_editor_plugins/lib/src/emoji_picker/src/emoji_picker_builder.dart
new file mode 100644
index 0000000000..ee00569852
--- /dev/null
+++ b/frontend/app_flowy/packages/appflowy_editor_plugins/lib/src/emoji_picker/src/emoji_picker_builder.dart
@@ -0,0 +1,17 @@
+import 'package:flutter/material.dart';
+
+import 'config.dart';
+import 'emoji_view_state.dart';
+
+/// Template class for custom implementation
+/// Inherit this class to create your own EmojiPicker
+abstract class EmojiPickerBuilder extends StatefulWidget {
+ /// Constructor
+ const EmojiPickerBuilder(this.config, this.state, {Key? key}) : super(key: key);
+
+ /// Config for customizations
+ final Config config;
+
+ /// State that holds current emoji data
+ final EmojiViewState state;
+}
diff --git a/frontend/app_flowy/packages/appflowy_editor_plugins/lib/src/emoji_picker/src/emoji_view_state.dart b/frontend/app_flowy/packages/appflowy_editor_plugins/lib/src/emoji_picker/src/emoji_view_state.dart
new file mode 100644
index 0000000000..202f913715
--- /dev/null
+++ b/frontend/app_flowy/packages/appflowy_editor_plugins/lib/src/emoji_picker/src/emoji_view_state.dart
@@ -0,0 +1,21 @@
+import 'models/category_models.dart';
+import 'emoji_picker.dart';
+
+/// State that holds current emoji data
+class EmojiViewState {
+ /// Constructor
+ EmojiViewState(
+ this.categoryEmoji,
+ this.onEmojiSelected,
+ this.onBackspacePressed,
+ );
+
+ /// List of all category including their emoji
+ final List<CategoryEmoji> categoryEmoji;
+
+ /// Callback when pressed on emoji
+ final OnEmojiSelected onEmojiSelected;
+
+ /// Callback when pressed on backspace
+ final OnBackspacePressed? onBackspacePressed;
+}
diff --git a/frontend/app_flowy/packages/appflowy_editor_plugins/lib/src/emoji_picker/src/models/category_models.dart b/frontend/app_flowy/packages/appflowy_editor_plugins/lib/src/emoji_picker/src/models/category_models.dart
new file mode 100644
index 0000000000..8d59fa87e7
--- /dev/null
+++ b/frontend/app_flowy/packages/appflowy_editor_plugins/lib/src/emoji_picker/src/models/category_models.dart
@@ -0,0 +1,91 @@
+import 'package:flutter/material.dart';
+
+import 'emoji_model.dart';
+import '../emoji_picker.dart';
+
+/// Container for Category and their emoji
+class CategoryEmoji {
+ /// Constructor
+ CategoryEmoji(this.category, this.emoji);
+
+ /// Category instance
+ final Category category;
+
+ /// List of emoji of this category
+ List<Emoji> emoji;
+
+ @override
+ String toString() {
+ return 'Name: $category, Emoji: $emoji';
+ }
+}
+
+/// Class that defines the icon representing a [Category]
+class CategoryIcon {
+ /// Icon of Category
+ const CategoryIcon({
+ required this.icon,
+ this.color = const Color.fromRGBO(211, 211, 211, 1),
+ this.selectedColor = const Color.fromRGBO(178, 178, 178, 1),
+ });
+
+ /// The icon to represent the category
+ final IconData icon;
+
+ /// The default color of the icon
+ final Color color;
+
+ /// The color of the icon once the category is selected
+ final Color selectedColor;
+}
+
+/// Class used to define all the [CategoryIcon] shown for each [Category]
+///
+/// This allows the keyboard to be personalized by changing icons shown.
+/// If a [CategoryIcon] is set as null or not defined during initialization,
+/// the default icons will be used instead
+class CategoryIcons {
+ /// Constructor
+ const CategoryIcons({
+ this.recentIcon = Icons.access_time,
+ this.smileyIcon = Icons.tag_faces,
+ this.animalIcon = Icons.pets,
+ this.foodIcon = Icons.fastfood,
+ this.activityIcon = Icons.directions_run,
+ this.travelIcon = Icons.location_city,
+ this.objectIcon = Icons.lightbulb_outline,
+ this.symbolIcon = Icons.emoji_symbols,
+ this.flagIcon = Icons.flag,
+ this.searchIcon = Icons.search,
+ });
+
+ /// Icon for [Category.RECENT]
+ final IconData recentIcon;
+
+ /// Icon for [Category.SMILEYS]
+ final IconData smileyIcon;
+
+ /// Icon for [Category.ANIMALS]
+ final IconData animalIcon;
+
+ /// Icon for [Category.FOODS]
+ final IconData foodIcon;
+
+ /// Icon for [Category.ACTIVITIES]
+ final IconData activityIcon;
+
+ /// Icon for [Category.TRAVEL]
+ final IconData travelIcon;
+
+ /// Icon for [Category.OBJECTS]
+ final IconData objectIcon;
+
+ /// Icon for [Category.SYMBOLS]
+ final IconData symbolIcon;
+
+ /// Icon for [Category.FLAGS]
+ final IconData flagIcon;
+
+ /// Icon for [Category.SEARCH]
+ final IconData searchIcon;
+}
diff --git a/frontend/app_flowy/packages/appflowy_editor_plugins/lib/src/emoji_picker/src/models/emoji_model.dart b/frontend/app_flowy/packages/appflowy_editor_plugins/lib/src/emoji_picker/src/models/emoji_model.dart
new file mode 100644
index 0000000000..a1808a9419
--- /dev/null
+++ b/frontend/app_flowy/packages/appflowy_editor_plugins/lib/src/emoji_picker/src/models/emoji_model.dart
@@ -0,0 +1,32 @@
+/// A class to store data for each individual emoji
+class Emoji {
+ /// Emoji constructor
+ const Emoji(this.name, this.emoji);
+
+ /// The name or description for this emoji
+ final String name;
+
+ /// The unicode string for this emoji
+ ///
+ /// This is the string that should be displayed to view the emoji
+ final String emoji;
+
+ @override
+ String toString() {
+ // return 'Name: $name, Emoji: $emoji';
+ return name;
+ }
+
+ /// Parse Emoji from json
+ static Emoji fromJson(Map<String, dynamic> json) {
+ return Emoji(json['name'] as String, json['emoji'] as String);
+ }
+
+ /// Encode Emoji to json
+ Map<String, dynamic> toJson() {
+ return {
+ 'name': name,
+ 'emoji': emoji,
+ };
+ }
+}
diff --git a/frontend/app_flowy/packages/appflowy_editor_plugins/lib/src/emoji_picker/src/models/recent_emoji_model.dart b/frontend/app_flowy/packages/appflowy_editor_plugins/lib/src/emoji_picker/src/models/recent_emoji_model.dart
new file mode 100644
index 0000000000..1571bc9a92
--- /dev/null
+++ b/frontend/app_flowy/packages/appflowy_editor_plugins/lib/src/emoji_picker/src/models/recent_emoji_model.dart
@@ -0,0 +1,30 @@
+import 'emoji_model.dart';
+
+/// Class that holds an recent emoji
+/// Recent Emoji has an instance of the emoji
+/// And a counter, which counts how often this emoji
+/// has been used before
+class RecentEmoji {
+ /// Constructor
+ RecentEmoji(this.emoji, this.counter);
+
+ /// Emoji instance
+ final Emoji emoji;
+
+ /// Counter how often emoji has been used before
+ int counter = 0;
+
+ /// Parse RecentEmoji from json
+ static RecentEmoji fromJson(dynamic json) {
+ return RecentEmoji(
+ Emoji.fromJson(json['emoji'] as Map<String, dynamic>),
+ json['counter'] as int,
+ );
+ }
+
+ /// Encode RecentEmoji to json
+ Map<String, dynamic> toJson() => {
+ 'emoji': emoji,
+ 'counter': counter,
+ };
+}
diff --git a/frontend/app_flowy/packages/appflowy_editor_plugins/pubspec.yaml b/frontend/app_flowy/packages/appflowy_editor_plugins/pubspec.yaml
index 9d62309c22..58105b3cc3 100644
--- a/frontend/app_flowy/packages/appflowy_editor_plugins/pubspec.yaml
+++ b/frontend/app_flowy/packages/appflowy_editor_plugins/pubspec.yaml
@@ -14,8 +14,11 @@ dependencies:
sdk: flutter
appflowy_editor:
path: ../appflowy_editor
+ flowy_infra_ui:
+ path: ../flowy_infra_ui
flutter_math_fork: ^0.6.3+1
highlight: ^0.7.0
+ shared_preferences: ^2.0.15
dev_dependencies:
flutter_test: