-
Notifications
You must be signed in to change notification settings - Fork 2
Lesson 1: Dart Basic
truyenjc edited this page Sep 23, 2020
·
3 revisions
Learn Dart Programming, its basics and Fundamentals from scratch.
- Data types and variables
- Define constants using
finalandconstkeywords
- If statements, switch statements
- Ternary operator
- The for statements, while statemets
- Declaring functions
- Function Expressions: Fat arrow
=>(Short hand syntax) - Optional Positional Parameters
- Optional Named Parameters
- Optional Default Parameters
- The
try,on,catchblocks - The
finalblock - Throwing an exception
- Custom exceptions
- Lambda Expression
- Higher-Order Functions
- Lexical Closures
- Array and List
- Set and HashSet
- Map and HashMap
- How to define and use callable classes
- Understanding null safety
- Safe calls with
?. - How to use
??,??=operators
- Defining Class and creating Objects
- Constructors
- Inheritanc, using constructors in Inheritance
- Getter and Setter
- Polymorphism