pub struct FadeScale;Expand description
Material 3 “fade scale” (Flutter FadeScaleTransition): the
incoming child fades in over the first 30% of the timeline while scaling
[FADE_SCALE_SCALE_START]→1.0 over the full timeline
([FADE_SCALE_SCALE_CURVE]); the exiting child fades only (no scale).
Non-directional — reverse has no geometric effect (it selects the faster
FADE_SCALE_REVERSE duration at the switcher’s timing layer instead). The
idiomatic pattern for a dialog/menu/FAB appearing over stable content.
Trait Implementations§
impl Copy for FadeScale
impl Eq for FadeScale
impl StructuralPartialEq for FadeScale
Source§impl TransitionPattern for FadeScale
impl TransitionPattern for FadeScale
Source§fn resolve(
&self,
p: f64,
_reverse: bool,
_size: Size,
) -> (PatternLayer, PatternLayer)
fn resolve( &self, p: f64, _reverse: bool, _size: Size, ) -> (PatternLayer, PatternLayer)
Resolve
(incoming, exiting) layers at transition progress p (raw —
may overshoot for a spring), reverse flipping any directional motion,
at container size.Auto Trait Implementations§
impl Freeze for FadeScale
impl RefUnwindSafe for FadeScale
impl Send for FadeScale
impl Sync for FadeScale
impl Unpin for FadeScale
impl UnsafeUnpin for FadeScale
impl UnwindSafe for FadeScale
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Brush for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.