selectEmojiFont function

String? selectEmojiFont()

Implementation

String? selectEmojiFont() {
  return switch (Platform.operatingSystem) {
    'ios' || 'macos' => 'Apple Color Emoji',
    'windows' => 'Segoe UI Emoji',
    'linux' => defaultEmojiFont,
    // we fallback to system supported emoji otherwise
    _ => null,
  };
}