primary_style_fn

Function primary_style_fn 

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

P Extends or replaces the PrimaryStyle!.

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.