selectEmojiFont function

String? selectEmojiFont()

Implementation

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