Why we can’t call our context in initState but there is no problem for didChangeDependencies ?
In flutter, the initState method is called once when the State object is created and inserted into the tree. It is used for initializing the…