loadEmojis method
Loads custom or bundled emoji pages.
Implementation
Future<void> loadEmojis({
int? rowCount,
int? columnCount,
List<String>? customEmojis,
}) async {
if (rowCount != null) {
_emojiRowCount = rowCount;
}
if (columnCount != null) {
_emojiColumnCount = columnCount;
}
final emojis = customEmojis == null || customEmojis.isEmpty
? await _loadBundledEmojis()
: customEmojis;
_processEmojiPages(emojis.isEmpty ? _fallbackEmojis : emojis);
notifyListeners();
}