Run ❯
Get your
own
website
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Change Language
Go to Spaces
Ctrl+Alt+P
void main() { final prices = [4.5, 12.0, 3.25]; var total = 0.0; for (final price in prices) { total += price; } print('Total: $total'); }
Total: 19.75