Results for “StatefulWidget”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Concepts
- Widgets and the widget lifecycle3.47.7widgets
every build. StatelessWidget: build() depends only on its constructor arguments and BuildContext. StatefulWidget creates a State object that survives rebuilds and holds mutable data. State lifecycle: initState
- State management3.47.7state
affected widgets rebuild. Keep state that only one widget cares about in a StatefulWidget; lift state that several screens share above them, expose it through an InheritedWidget
- Performance3.47.7performance
budget allows. Keep build() cheap and scoped (const widgets, small StatefulWidgets, lazy lists), avoid saveLayer-triggering effects such as Opacity and clipping in animations, and measure
- Networking and JSON3.47.7data
Use package:http to send a request, await the Future , check the