Tag
“control-flow”
Jumping Out of Loops with break, continue, and Labels in Dart
Use break and continue to control Dart loops, then level up with labeled statements to exit or skip specific outer loops in nested for, while, and do-while.
December 3, 2026 AI Assistant
Repeating Work with for, while, and do-while Loops in Dart
C-style for, closures that capture values not variables, for-in over iterables, while versus do-while, side-effect conditions, break, labels, and forEach etiquette.
December 3, 2026 AI Assistant
Decision Logic in Dart: if/else, if-case, and switch Statements
From plain if/else through Dart 3 if-case, switch statements, switch expressions, guards, and exhaustiveness checking over enums and sealed classes.
December 3, 2026 AI Assistant
Event Filtering and Redirection Between Autonomous Sub-Agents
Filter Google ADK's event stream by author, type, and finality, then redirect control between sub-agents with transfer signals and tool actions.
November 30, 2026 AI Assistant