Skip to main content

GradientProperty

Type Alias GradientProperty 

Source
pub type GradientProperty = Rc<dyn Fn(GradientStates) -> Option<GradientSpec>>;
Expand description

A per-state gradient resolver — the reference’s WidgetStateProperty<Gradient?>.

Aliased Type§

pub struct GradientProperty { /* private fields */ }