Dart Programming language Cheatsheet
+ 17
Introducing the Environment
Drawing a Shape
- Code runs in the order it's written
Variables
Data Types
Strings
Numbers
Getting User Input
Building a Basic Calculator
Building a madlibs game
Lists
Functions
Parameters & Arguments
Return Statements
Building a prompting function
If Statements
- Read the prompt text from the website
I wake up
If I'm hungry
I eat breakfast
I leave my house
if it's cloudy
I bring an umbrella
otherwise
I bring sunglasses
Im at a restaurant
if I want meat
I order a steak
otherwise if I want pasta
I order spaghetti & meatballs
otherwise
I order a salad.
&&/|| operators, elseif
Building a better calculator
Switch Statements
While Loops
Building a guessing game
For Loops
- First talk about how this is a common occurance