Harish Kunchalaharishkunchala.com·Nov 19, 2024Mastering setState in Flutter: When to Use It and When to Avoid ItUnderstanding when to use setState in Flutter is crucial for managing our app’s state effectively. Here’s a detailed guide: When to use setState ? Updating the UI: Use setState when we need to update the UI in response to changes in the internal sta...4 likes·26 readsFlutter
Parth Shethparthshethflutterdeveloper.hashnode.dev·Jun 22, 2024Widget Life Cycle In FlutterFlutter has two types of widgets Stateless Widget, and Stateful Widget. Stateless Widget: Stateless Widgets are rendered only once when the widget is loaded. We can't rebuild a Stateless widget based on any user events or changes. Stateful Widgets...104 readswidget lifecycle