Introduction to Dart


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