Results for “BuildContext”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Concepts
- State management3.47.7state
through many layers gets tedious. InheritedWidget lets any descendant find a value through BuildContext; dependents are rebuilt when the inherited widget is replaced with one whose updateShouldNotify
- Navigation and routing3.47.7navigation
need. After any await on navigation, check mounted (or context.mounted) before touching the BuildContext; the user may have left the screen meanwhile. The Navigator is a desk
- Widgets and the widget lifecycle3.47.7widgets
created on 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