MyApp As A Stateful Widget Is An Antipattern
Let me show you why having MyApp as a stateful widget is an antipattern.
In the Flutter Framework, the Flutter Team implements the Stateful Widget as a practical immutable by having the Framework re-build the widget when dependencies update or change. That costs memory and time. In state management, we strive to reduce or eliminate Stateful…