What is the difference between initState and a class constructor in Flutter? : <p>I read the documentation but it is not clear.</p>

<p>It states "[initState is] Called when this object is inserted into the tree."</p>

<p>When a widget is inserted into a tree, it means it has been created, which means the class constructor is called. What is the purpose of init? Isn't the constructor's purpose to initialize the class instance?</p>

<p>Thank you guys for your time.</p>
