Skip to main content

slide_in_vertically

Function slide_in_vertically 

Source
pub fn slide_in_vertically(initial_offset_fraction: f32) -> EnterTransition
Expand description

Slides in the content vertically from initial_offset_fraction of its own height (negative values start above the resting position, mirroring Compose’s default of -fullHeight / 2).

Mirrors Jetpack Compose: slideInVertically { fullHeight -> ... }, with the offset expressed as a fraction of the content height instead of a lambda over the measured height.