-
public final class MaterialElevationScaleKt
-
-
Method Summary
Modifier and Type Method Description final static EnterTransitionmaterialElevationScaleIn(Float initialAlpha, Float initialScale, Integer durationMillis)materialElevationScaleIn allows to switch a layout with elevation scale enter transition. final static ExitTransitionmaterialElevationScaleOut(Float targetAlpha, Float targetScale, Integer durationMillis)materialElevationScaleOut allows to switch a layout with elevation scale exit transition. -
-
Method Detail
-
materialElevationScaleIn
final static EnterTransition materialElevationScaleIn(Float initialAlpha, Float initialScale, Integer durationMillis)
materialElevationScaleIn allows to switch a layout with elevation scale enter transition.
- Parameters:
initialAlpha- the starting alpha of the enter transition.initialScale- the starting scale of the enter transition.durationMillis- the duration of the enter transition.
-
materialElevationScaleOut
final static ExitTransition materialElevationScaleOut(Float targetAlpha, Float targetScale, Integer durationMillis)
materialElevationScaleOut allows to switch a layout with elevation scale exit transition.
- Parameters:
targetAlpha- the target alpha of the exit transition.targetScale- the target scale of the exit transition.durationMillis- the duration of the exit transition.
-
-
-
-