countryCodeSuggestion top-level property
Implementation
final List<FigSuggestion> countryCodeSuggestion = [
['AL', 'Albania'],
['AT', 'Austria'],
['AU', 'Australia'],
['BE', 'Belgium'],
['BG', 'Bulgaria'],
['CA', 'Canada'],
['CH', 'Switzerland'],
['CN', 'China'],
['CZ', 'Czech Republic'],
['DE', 'Germany'],
['DK', 'Denmark'],
['ES', 'Spain'],
['FI', 'Finland'],
['FR', 'France'],
['GB', 'United Kingdom'],
['GR', 'Greece'],
['HU', 'Hungary'],
['IS', 'Iceland'],
['IT', 'Italy'],
['JP', 'Japan'],
['LI', 'Lithuania'],
['LN', 'Latin'],
['LU', 'Luxembourg'],
['LV', 'Latvia'],
['NL', 'Netherlands'],
['NO', 'Norway'],
['PL', 'Poland'],
['PT', 'Portugal'],
['RO', 'Romania'],
['RU', 'Russia'],
['SI', 'Slovenia'],
['SW', 'Sweden'],
['TR', 'Turkey'],
['US', 'United States'],
['YU', 'Yugoslavia'],
]
.map((country) => FigSuggestion(
name: country[0],
description: country[1],
icon: '🌎',
type: SuggestionType.arg,
))
.toList();