Introduction to Dart


  1. About Dart
  2. Where does Dart run?
  3. Features
  4. Editors and IDEs
  5. Dart using vim
  6. Getting Help
  7. Hello World
  8. String interpolation
  9. Adding numbers
  10. Comments
  11. Using string as a number
  12. Casting string to int
  13. Comparing number and string containing number
  14. if-statement
  15. else if
  16. Logical operators
  17. switch case
  18. Type checking
  19. Types
  20. Operators on numbers
  21. Strings
  22. String Methods
  23. StringBuffer
  24. Boolen values
  25. while - continue - break
  26. do while loop
  27. Functions
  28. Functions: Optional Positional Parameters
  29. Functions: Optional Named Parameters
  30. Functions: Optional Named Parameter with default value
  31. Functions: Optional Positional Parameter with default value
  32. Optional Parameters
  33. Functional Programming
  34. Passing functions as parameters
  35. Specific function signatures
  36. Lexical Scoping
  37. Closure
  38. Complex data types
  39. Lists
  40. where - filtering values
  41. any - checking if anything matches
  42. map - making changes to each value
  43. Queue - FIFO
  44. Stack - LIFO
  45. Sets
  46. Maps
  47. DateTime
  48. Read from Standard Input
  49. Division by Zero
  50. Integer Division by Zero
  51. Catch exception
  52. Catch specific exception
  53. Command line arguments
  54. Timer
  55. Reading File
  56. Listing Directory
  57. Random Numbers
  58. Classes
  59. Class with automatic getter and setter
  60. Create Getters and Setters
  61. Alternative constructor
  62. Inheritance (extending a class)
  63. Dart resources
  64. Ternary operator
  65. Number Guessing game
  66. Iterable
  67. Iterator
  68. Convert Dart date to JSON and back
  69. Examples