ListPopupContent

fun ListPopupContent(popupContentSize: IntSize, onPopupContentSizeChange: (IntSize) -> Unit, fractionProgress: () -> Float, alphaProgress: () -> Float, popupLayoutPosition: PopupLayoutPosition, localTransformOrigin: TransformOrigin, modifier: Modifier = Modifier, content: @Composable () -> Unit)

The scaling, fading and clip-revealing container that hosts a list popup's content.

Parameters

popupContentSize

The last reported size of the content, compared against the latest measurement to avoid redundant onPopupContentSizeChange callbacks.

onPopupContentSizeChange

Called when the measured content size changes.

fractionProgress

Provides the current scale/clip-reveal fraction (0 → 1) of the popup.

alphaProgress

Provides the current alpha (0 → 1) of the popup content.

popupLayoutPosition

The PopupLayoutPosition describing the popup's spawn direction.

localTransformOrigin

The transform origin local to the content used while scaling.

modifier

The modifier to be applied to the popup container.

content

The content of the popup.