FloatingToolbarExitDirection

Class

Common
@ExperimentalMaterial3ExpressiveApi
value class FloatingToolbarExitDirection
internal constructor(@Suppress("unused") private val value: Int)

The possible directions for a HorizontalFloatingToolbar or VerticalFloatingToolbar, used to determine the exit direction when a FloatingToolbarScrollBehavior is attached.

Companion Object

Properties

Common
val Bottom = FloatingToolbarExitDirection(0)

FloatingToolbar exits towards the bottom of the screen

Common
val Top = FloatingToolbarExitDirection(1)

FloatingToolbar exits towards the top of the screen

Common
val Start = FloatingToolbarExitDirection(2)

FloatingToolbar exits towards the start of the screen

Common
val End = FloatingToolbarExitDirection(3)

FloatingToolbar exits towards the end of the screen