Day 9 · Dynamic UI — Conditionals, Loops & Theming
Press F to toggle fullscreen · Esc to exit · I for info
Day 9
Dynamic UI — Conditionals, Loops & Theming
Make your UI react to data. if/else inside widgets, render lists with for/map, ListView.builder, and theming with ThemeData. Plus dark mode that actually flips. Visual demos throughout.
Topics Covered
if/else in widgetscollection-if & collection-forList.map → widgetsListView & ListView.builderWorking with Map<String, dynamic>ThemeData & colorSchemeTheme.of(context)Dark mode toggle