monthly archives: November 2022

In Flutter, when we want to rebuild the UI inside a Stateful widget after updating a variable, we use setState(). setState() re-runs the build method and the widget is rebuilt with the updated variable value. For a simple UI, setState() may be enough as a state management solution but when the widget tree is large […]

Continue Reading