From 513ae2edde94f77c6c8495f3571e0c4aae542901 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kl=C3=BCpfel?= Date: Tue, 5 Nov 2024 19:02:37 +0100 Subject: [PATCH] adds filterUnsupported method to EmojiPickerUtils --- lib/src/emoji_picker_utils.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/src/emoji_picker_utils.dart b/lib/src/emoji_picker_utils.dart index 76908cb..439e6c9 100644 --- a/lib/src/emoji_picker_utils.dart +++ b/lib/src/emoji_picker_utils.dart @@ -28,6 +28,10 @@ class EmojiPickerUtils { return EmojiPickerInternalUtils().getRecentEmojis(); } + /// Filters out emojis not supported on the platform + Future> filterUnsupported(List data) => + EmojiPickerInternalUtils().filterUnsupported(data); + /// Search for related emoticons based on keywords Future> searchEmoji(String keyword, List emojiSet, {bool checkPlatformCompatibility = true}) async {