Common
@ExperimentalMaterial3AdaptiveComponentOverrideApi
class AnimatedPaneOverrideScope<Role : PaneScaffoldRole, ScaffoldValue : PaneScaffoldValue<Role>>
internal constructor(
val scope: ExtendedPaneScaffoldPaneScope<Role, ScaffoldValue>,
val modifier: Modifier,
val enterTransition: EnterTransition,
val exitTransition: ExitTransition,
val boundsAnimationSpec: FiniteAnimationSpec<IntRect>,
val dragToResizeHandle: (@Composable (DragToResizeState) -> Unit)?,
val content: (@Composable AnimatedPaneScope.() -> Unit),
)
Parameters available to AnimatedPane.
Parameters
| modifier | The modifier applied to the AnimatedPane. |
| enterTransition | The EnterTransition used to animate the pane in. |
| exitTransition | The ExitTransition used to animate the pane out. |
| boundsAnimationSpec | The FiniteAnimationSpec used to animate the bounds of the pane when the pane is keeping showing but changing its size and/or position. |
| dragToResizeHandle | The optional handle which will shown when the pane is levitated and drag-to-resizable; the handle will be draggable and clickable to resize the pane freely or among collapsed, partially expanded, and expanded states. See rememberDragToResizeState for more details about how to implement the drag-to-resize behavior. |
| content | The content of the AnimatedPane. Also see AnimatedPaneScope. |