widget

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  

In this guide, we are going to learn the concept of a hero animation in Flutter, how to create it, and learn different properties of it, and we will look at examples of hero animation. First of all, we should know what is hero animation in a flutter. The Hero refers to the widget that […]

Continue Reading