Skip to content

Instantly share code, notes, and snippets.

@charlenopires
Created June 14, 2019 22:06
Show Gist options
  • Save charlenopires/16404b72669889f04aa434fe5fef9b95 to your computer and use it in GitHub Desktop.
Save charlenopires/16404b72669889f04aa434fe5fef9b95 to your computer and use it in GitHub Desktop.
Learning Dart
main() {
final List<Map<String, dynamic>> menu = [
{"icon": "gradient", "description": "GRADIENTS"},
{"icon": "crop_16_9", "description": "BUTTONS"},
{"icon": "view_agenda", "description": "CARDS"},
{"icon": "view_headline", "description": "MENU"},
{"icon": "style", "description": "TEXT STYLE"},
{"icon": "input", "description": "INPUTS"},
{"icon": "assignment", "description": "FORMS"},
{"icon": "date_range", "description": "DATEPICKER"},
{"icon": "slideshow", "description": "WELCOME"},
{"icon": "chrome_reader_mode", "description": "SPLASHSCREEN"},
];
menu.forEach((elem) => elem.forEach((k,v) => print("${k}: ${v}")));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment