❮ Index
❯
TOC: Dart Programming
- Introduction to Dart
- About Dart
- Where does Dart run?
- Features
- Editors and IDEs
- Dart using vim
- Getting Help
- Hello World
- String interpolation
- Adding numbers
- Comments
- Using string as a number
- Casting string to int
- Comparing number and string containing number
- if-statement
- else if
- Logical operators
- switch case
- Type checking
- Types
- Operators on numbers
- Strings
- String Methods
- StringBuffer
- Boolen values
- while - continue - break
- do while loop
- Functions
- Functions: Optional Positional Parameters
- Functions: Optional Named Parameters
- Functions: Optional Named Parameter with default value
- Functions: Optional Positional Parameter with default value
- Optional Parameters
- Functional Programming
- Passing functions as parameters
- Specific function signatures
- Lexical Scoping
- Closure
- Complex data types
- Lists
- where - filtering values
- any - checking if anything matches
- map - making changes to each value
- Queue - FIFO
- Stack - LIFO
- Sets
- Maps
- DateTime
- Read from Standard Input
- Division by Zero
- Integer Division by Zero
- Catch exception
- Catch specific exception
- Command line arguments
- Timer
- Reading File
- Listing Directory
- Random Numbers
- Classes
- Class with automatic getter and setter
- Create Getters and Setters
- Alternative constructor
- Inheritance (extending a class)
- Dart resources
- Ternary operator
- Number Guessing game
- Iterable
- Iterator
- Convert Dart date to JSON and back
- Examples