Skip to main content

PatternSwitcher

Function PatternSwitcher 

Source
pub fn PatternSwitcher<State, P, V>(
    key: impl Into<ChildKey>,
    pattern: P,
    child: V,
) -> PatternSwitcherView<State, P>
where State: 'static, P: TransitionPattern + Clone + 'static, V: View<State>,
Expand description

PascalCase alias for pattern_switcher (mirrors the AnimatedOpacity/ animated_opacity dual naming).