1. What is a coroutine? 1-1 How it different from a Thread? Executed inside of a thread. Suspendable Can easily change their context (the thread they're running in) 2. Launch a coroutine 2-1 Global scope Live as long as the application does.……
1. Variables 1-1 'val' and 'var' var is mutable, can be changed during execution val is immutable, cannot be changed once initialized 1 2 3 4 5 6 //OK var myName = "Cherry" myName = "newName" //NG val myName = "Cherry" myName……
3-1 Classes Dart is an OO language 3-1-1 Ways to initiate objects literal 1 2 String text = 'initial'; final list = [1,2,3]; invoke a constructor constructor with initial value of fields 1 2 3 4 5 6 7 8 9 10……
Targets Build a pure flutter&Console application Understand similarities and differences between Dart and other languages 1-1 Project set-up (VScode) F1 > dart: create new project > simple console application Every single dart app has a main method, run as soon as the……