pub struct TransitionFrame {
pub top: PagePose,
pub below: PagePose,
pub backdrop: f32,
pub scrim: f32,
pub barrier: f32,
pub edge_shadow: f32,
pub mirrored: bool,
}Expand description
What a transition paints at one moment: the two pages, and what lies between them.
Fields§
§top: PagePoseThe page pushed, or being popped.
below: PagePoseThe page under it.
backdrop: f32A fill of the scheme’s surface behind both pages, at this opacity: the fade’s
background, what shows where the pages have faded (page_transitions_theme.dart:541).
0 for none.
scrim: f32A fill of the scheme’s surface between the two pages, at this opacity: the zoom’s
scrim, which hides the page under the one arriving (:1014). 0 for none.
barrier: f32A dimming over the page under the top one, black at this opacity: the iOS route’s
barrier. 0 for none.
edge_shadow: f32The iOS page’s shadow along its start edge, 0..=1 of its strength. 0 for none.
mirrored: boolWhether dx turns round under a right-to-left layout: the iOS slide does, the fade
does not (the reference’s SlideTransition there is given no direction).