Expand description
Macros§
- impl_
named_ style_ fn - Implements a
NAMED_STYLE_FN_VAR,named_style_fnandNamedStyle!items. - impl_
style_ fn - Implements the contextual
STYLE_FN_VARandstyle_fn. - style_
fn - Declares a style function closure.
Structs§
- Named
Style Var - Represents a
ContextVar<StyleFn>that defines a named style. - Style
WRepresents a set of properties that can be applied to any styleable widget.- Style
Args - Arguments for
StyleFnclosure. - Style
Builder - Represents a style instance.
- StyleFn
- Boxed shared closure that generates a style instance for a given widget context.
- Style
Mix mStyleable widget mixin.
Functions§
- named_
style_ fn BSet in the default properties of a named style to define the contextual variable for that style.- replace
BFully replace the contextual style.- with_
style_ fn - Helper for declaring the
style_fnproperty.