All modern app developments require some kind of state management. The bigger the app is, the more sophisticated a state management solution is required to be. Previously, we discussed how stateful and stateless widgets function in Flutter. The most common way to update a state is to use stateful widgets and the setState function.