switch_style_fn

Function switch_style_fn 

Source
pub fn switch_style_fn(
    child: impl IntoUiNode,
    style_fn: impl IntoVar<StyleFn>,
) -> UiNode
Expand description

P Extends or replaces the SwitchStyle!.

Properties and when conditions set here are applied to widgets using the style.

Note that style instances extend the contextual style by default, you can set replace on a style to true to fully replace.