Results for “InheritedWidget”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Concepts
Guides
- Approaches to state managementdoc
changes. State Management using ValueNotifier and InheritedNotifier , by Tadas Petra InheritedWidget and InheritedModel The low-level approach used to communicate between ancestors and children in the widget
- Flutter architectural overviewdoc
A high-level overview of the architecture of Flutter, including the core
- Simple app state managementdoc
A simple form of state management. Now that you know about declarative
- Fetch data from the internetdoc
How to fetch data over the internet using the http package. Fetching
API reference
- InheritedWidgetclass
Base class for widgets that efficiently propagate information down the tree. widgets.InheritedWidget InheritedWidget Inherited Widget class widgets
- InheritedWidget.newconstructor
provide const constructors so that they can be used in const expressions. widgets.InheritedWidget.InheritedWidget.new InheritedWidget new Inherited Widget.new constructor widgets
- InheritedElementclass
Element that uses an InheritedWidget as its configuration. widgets.InheritedElement InheritedElement Inherited Element class widgets
- CupertinoPageScaffoldBackgroundColorclass
InheritedWidget indicating what the current scaffold background color is for its children. cupertino.CupertinoPageScaffoldBackgroundColor CupertinoPageScaffoldBackgroundColor Cupertino Page Scaffold Background Color class cupertino
- MenuAcceleratorCallbackBindingclass
InheritedWidget that provides a descendant MenuAcceleratorLabel with the function to invoke when the accelerator is pressed. material.MenuAcceleratorCallbackBinding MenuAcceleratorCallbackBinding Menu Accelerator Callback Binding class material
- InheritedThemeclass
InheritedWidget that defines visual properties like colors and text styles, which the child's subtree depends on. widgets.InheritedTheme InheritedTheme Inherited Theme class widgets
- InheritedModelclass
InheritedWidget that's intended to be used as the base class for models whose dependents may only depend on one part or "aspect" of the overall model
Version changes
- Added BuildContext parameter to TextEditingController.buildTextSpan2.0.0breaking
BuildContext` parameter was added to `TextEditingController.buildTextSpan`. With the `BuildContext` available, users can access `InheritedWidgets` inside `buildTextSpan` to retrieve state required to style the text, or otherwise manipulate
- Eliminating nullOk Parameters2.0.0breaking
Flutter has a common pattern of allowing lookup of some types of widgets (`InheritedWidget`s) using static member functions that are typically called `of`, and take
- Migrate of to non-nullable return values, and add maybeOf3.7.0breaking
common pattern of allowing lookup of some types of widgets (typically `InheritedWidget`s, but also others) using static member functions that are typically called `of`. To modify