pub fn pattern_switcher<State, P, V>(
key: impl Into<ChildKey>,
pattern: P,
child: V,
) -> PatternSwitcherView<State, P>Expand description
Stage a keyed child switch under pattern: whenever key changes identity,
the previous child animates out and child animates in. See the
module docs.