Difference Between a Cold Start and a Hot Restart?
Answer
* The key is that a **Hot Restart** does not kill your application's process. It re-uses the existing Dart Virtual Machine (VM) that's already running. A **Cold Start** begins with a completely new process.
* **Cold Start (First Run)**
* A new application process is created on the device.
* The Dart VM is started.
* Your `main()` function is executed from top to bottom on a clean slate.
* The initializations run, and `runApp` is called.
* **Hot Restart**
* This is a two-step process inside the already running app: