EnterTransitionSchema
Enter transition applied when a screen or animated content becomes visible.
Multiple variants can coexist in ContentTransitionSchema.enter — they are combined with the + operator to run simultaneously (e.g. fade + slide).
Variants:
FadeIn —
fadeIn(animationSpec, initialAlpha). Default: alpha0f → 1fover 300ms.SlideInHorizontally —
slideInHorizontally(animationSpec, initialOffsetX). Default offset: OffsetType.Full (slides in from fully off-screen right).SlideInVertically —
slideInVertically(animationSpec, initialOffsetY). Default offset: OffsetType.Full (slides in from below).None —
EnterTransition.None(no animation; use to disable enter on one side of a pair).
How OffsetType maps to pixel offset (lambda { fullSize }):
OffsetType.Full →
+fullSize(from right/bottom)OffsetType.NegativeFull →
-fullSize(from left/top)OffsetType.Fixed → exact pixel value
OffsetType.Fraction →
(fullSize * factor).toInt()