Skip to main contentModule extensions
- FocusPressEventData
- Data delivered to
on_focus_press, which can originate from a mouse or a touch. - PressEventData
- Data delivered to
on_press, which can originate from a mouse, the keyboard or a touch.
- AccessibilityExt
- Methods for describing an element in the accessibility tree.
- ChildrenExt
- Trait for composing child elements.
- ContainerExt
- Methods controlling an element’s position and size constraints.
- ContainerSizeExt
- Methods for setting an element’s width and height.
- ContainerWithContentExt
- Layout methods for containers that arrange children along a direction axis.
- CornerRadiusExt
- Shorthand methods for setting an element’s
CornerRadius to common values. - EffectExt
- Methods for visual effects applied to an element: clipping, blur, rotation, opacity and scale.
- EventHandlersExt
- Methods for attaching event handlers to an element.
- ImageExt
- Methods for configuring how an image is scaled and sampled.
- InteractiveExt
- Method for controlling whether an element responds to pointer events.
- KeyExt
- Trait for giving an element a stable identity across renders.
- LayerExt
- Method for controlling which painting layer an element belongs to.
- LayoutExt
- Low-level access to an element’s
LayoutData. - ListExt
- Trait for concatenating two lists into one.
- MaybeExt
- Methods for applying changes to an element conditionally.
- ScrollableExt
- StyleExt
- Methods for styling an element’s box: background, borders, shadows and corners.
- TextStyleExt
- Methods for styling the text rendered by an element and inherited by its children.