Results for “Element”
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
part of the UI. Flutter turns the widget tree into a longer-lived element tree and a render tree; when you call setState, only the widgets that
- Performance3.47.7performance
Either half taking too long drops the frame. setState marks that State's element dirty and everything below it rebuilds unless a child is the identical widget
Guides
API reference
- Elementclass
instantiation of a Widget at a particular location in the tree. widgets.Element Element Element class widgets
- Element.newconstructor
that uses the given widget as its configuration. widgets.Element.Element.new Element new Element.new constructor widgets
- ComponentElementclass
Element that composes other Elements. widgets.ComponentElement ComponentElement Component Element class widgets
- foundation.mapEqualsfunction
Compares two maps for element-by-element equality. foundation.mapEquals mapEquals map Equals function foundation
- foundation.setEqualsfunction
Compares two sets for element-by-element equality. foundation.setEquals setEquals set Equals function foundation
- foundation.listEqualsfunction
Compares two lists for element-by-element equality. foundation.listEquals listEquals list Equals function foundation
- RootElementclass
root of the element tree. widgets.RootElement RootElement Root Element class widgets
- StatefulElementclass
Element that uses a StatefulWidget as its configuration. widgets.StatefulElement StatefulElement Stateful Element class widgets
- InheritedElementclass
Element that uses an InheritedWidget as its configuration. widgets.InheritedElement InheritedElement Inherited Element class widgets
- ProxyElementclass
Element that uses a ProxyWidget as its configuration. widgets.ProxyElement ProxyElement Proxy Element class widgets
- StatelessElementclass
Element that uses a StatelessWidget as its configuration. widgets.StatelessElement StatelessElement Stateless Element class widgets
- RenderObjectElementclass
Element that uses a RenderObjectWidget as its configuration. widgets.RenderObjectElement RenderObjectElement Render Object Element class widgets
- SlottedRenderObjectElementclass
Element used by the SlottedMultiChildRenderObjectWidget. widgets.SlottedRenderObjectElement SlottedRenderObjectElement Slotted Render Object Element class widgets
- InheritedModelElementclass
Element that uses a InheritedModel as its configuration. widgets.InheritedModelElement InheritedModelElement Inherited Model Element class widgets
- ParentDataElementclass
Element that uses a ParentDataWidget as its configuration. widgets.ParentDataElement ParentDataElement Parent Data Element class widgets
- LeafRenderObjectElementclass
Element that uses a LeafRenderObjectWidget as its configuration. widgets.LeafRenderObjectElement LeafRenderObjectElement Leaf Render Object Element class widgets
- ListWheelElementclass
Element that supports building children lazily for ListWheelViewport. widgets.ListWheelElement ListWheelElement List Wheel Element class widgets
- SingleChildRenderObjectElementclass
Element that uses a SingleChildRenderObjectWidget as its configuration. widgets.SingleChildRenderObjectElement SingleChildRenderObjectElement Single Child Render Object Element class widgets
- RenderObjectToWidgetElementclass
root of an element tree that is hosted by a RenderObject. widgets.RenderObjectToWidgetElement RenderObjectToWidgetElement Render Object To Widget Element class widgets
- MultiChildRenderObjectElementclass
Element that uses a MultiChildRenderObjectWidget as its configuration. widgets.MultiChildRenderObjectElement MultiChildRenderObjectElement Multi Child Render Object Element class widgets
- HtmlElementViewclass
Embeds an HTML element in the Widget hierarchy in Flutter web. widgets.HtmlElementView HtmlElementView Html Element View class widgets
- SliverMultiBoxAdaptorElementclass
element that lazily builds children for a SliverMultiBoxAdaptorWidget. widgets.SliverMultiBoxAdaptorElement SliverMultiBoxAdaptorElement Sliver Multi Box Adaptor Element class widgets
- widgets.ElementCreatedCallbacktypedef
function that gets called when the HtmlElementView DOM element is created. widgets.ElementCreatedCallback ElementCreatedCallback Element Created Callback typedef widgets
- Widgetclass
Describes the configuration for an Element. widgets.Widget Widget Widget class widgets
- Keyclass
identifier for Widgets, Elements and SemanticsNodes. foundation.Key Key Key class foundation
- DebugCreatorclass
wrapper class for the Element that is the creator of a RenderObject. widgets.DebugCreator DebugCreator Debug Creator class widgets
- IndexedSlotclass
value for Element.slot used for children of MultiChildRenderObjectElements. widgets.IndexedSlot IndexedSlot Indexed Slot class widgets
- widgets.RootElementMixinmixin
Mixin for the element at the root of the tree. widgets.RootElementMixin RootElementMixin Root Element Mixin mixin widgets
- RenderObjectToWidgetAdapterclass
bridge from a RenderObject to an Element tree. widgets.RenderObjectToWidgetAdapter RenderObjectToWidgetAdapter Render Object To Widget Adapter class widgets
- TweenSequenceItemclass
simple holder for one element of a TweenSequence. animation.TweenSequenceItem TweenSequenceItem Tween Sequence Item class animation
- RenderObjectToWidgetElement.newconstructor
that is hosted by a RenderObject. widgets.RenderObjectToWidgetElement.RenderObjectToWidgetElement.new RenderObjectToWidgetElement new Render Object To Widget Element.new constructor widgets
Version changes
- Failed assertion in web engine: "The targeted input element must be the active input element".3.27.2bugfix
Failed assertion in web engine: "The targeted input element must be the active input element
- The forgetChild() method must call super1.17.0breaking
recent global key duplication detection refactor now requires `Element` subclasses that override the `forgetChild()` to call `super()`. The `forgetChild` of abstract class `Element` has a base
- On Linux, fix header elements not being announced by screen reader.3.47.2bugfix
Linux, fix header elements not being announced by screen reader
- - [Web] Accessibility focus border doesn’t follow when navigating through interactive elements with tab key2.2.1bugfix
Accessibility focus border doesn’t follow when navigating through interactive elements with
- Add error handling for `Element` lifecycle user callbacks3.38.0new-feature
error handling for `Element` lifecycle user callbacks (Material, by @LongCatIsLooong). Element
- Null aware elements clean-ups3.38.0improvement
Null aware elements clean-ups (Framework, by @jamilsaadeh97
- Migrate to null aware elements - Part 33.38.0tooling
Migrate to null aware elements - Part 3 (Tooling, by @jamilsaadeh97
- Use null-aware elements in dev/devicelab/lib/integration_tests.dart3.47.0platform
null-aware elements in dev/devicelab/lib/integration_tests.dart (Android, by @lukluca
- use null-aware element in `pointer_signal_resolver.0.dart`3.44.0improvement
null-aware element in `pointer_signal_resolver.0.dart` (Framework, by @AbdeMohlbi
- Fix invisible accessibility element before scroll view3.44.0bugfix
invisible accessibility element before scroll view (iOS, by @LouiseHsu
- Migrate to null aware elements - Part 53.38.0improvement
Migrate to null aware elements - Part 5 (Material, by @ricardodalarme
- Migrate to null aware elements - Part 13.38.0improvement
Migrate to null aware elements - Part 1 (Framework, by @jamilsaadeh97
- Migrate to null aware elements - Part 23.38.0improvement
Migrate to null aware elements - Part 2 (Framework, by @jamilsaadeh97
- Migrate to null aware elements - Part 43.38.0improvement
Migrate to null aware elements - Part 4 (Framework, by @jamilsaadeh97
- Adopt Null-Aware Elements in `packages/flutter/lib/src/material`3.38.0improvement
Adopt Null-Aware Elements in `packages/flutter/lib/src/material` (Material, by @0xharkirat
- Use null-aware elements in material/dialog.dart3.44.0improvement
null-aware elements in material/dialog.dart (Material, by @brahim-guaali
- [web] Apply autocapitalize to text editing elements3.47.0improvement
Apply autocapitalize to text editing elements (Framework, by @flutter
- [engine] Null aware elements clean-ups3.38.0improvement
engine] Null aware elements clean-ups (Framework, by @jamilsaadeh97
- Use null-aware elements in widgets/routes.dart3.44.0improvement
null-aware elements in widgets/routes.dart (Framework, by @brahim-guaali
- Use null-aware elements in cupertino/list_tile.dart3.44.0improvement
null-aware elements in cupertino/list_tile.dart (Framework, by @brahim-guaali
- Use null-aware elements in cupertino/nav_bar.dart3.44.0improvement
null-aware elements in cupertino/nav_bar.dart (Framework, by @brahim-guaali
- Use null-aware elements in dev/devicelab/lib/framework/browser.dart3.47.0improvement
null-aware elements in dev/devicelab/lib/framework/browser.dart (Other changes, by @alejandro-all-win-software
- Use an if-element in a collection literal instead of a conditional expression3.47.0improvement
element in a collection literal instead of a conditional expression (Framework, by @srawlins
- Fix style manager test by actually focusing the tested element.3.44.0bugfix
style manager test by actually focusing the tested element. (Web, by @harryterkelsen
- [web] Set `pointer-events: none` for img-element-backed images3.41.0improvement
pointer-events: none` for img-element-backed images (Framework, by @harryterkelsen