I have coded in dart and flutter for the past 3 months. I have one app in the play store. But I still don't understand how threading system of flutter works.
To make things simple let's take the most basic counter app that you get when you do flutter create basicapp
.
Question no 1. How many threads are there in that basic app?
Question no 2. If there are multiple threads when are they created? When it calls runApp(MyApp())
?
Question no 3. I know that dart has a concept of isolates. Are isolates the same as threads?
Question 1:
Question 2:
Question 3:
Here is a link for better understanding.
Cheers!! Hope it helps.