MyApp As A Stateful Widget Is An Antipattern

Let me show you why having MyApp as a stateful widget is an antipattern.

Background

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

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store