Class

AnchorAlignmentOffsetPosition.Vertical

A MenuPosition.Vertical which vertically aligns the given menuAlignment with the given anchorAlignment.

Source set: Common
data class Vertical(
        private val menuAlignment: Alignment.Vertical,
        private val anchorAlignment: Alignment.Vertical,
    ) : MenuPosition.Vertical

A MenuPosition.Vertical which vertically aligns the given menuAlignment with the given anchorAlignment.

Functions

position

Source set: Common
override fun position(anchorBounds: IntRect, windowSize: IntSize, menuHeight: Int): Int
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: