rememberInternalFrameState

@Composable
fun rememberInternalFrameState(bounds: Rectangle, iconified: Boolean = false, maximized: Boolean = false): InternalFrameState

Creates an InternalFrameState that is remembered across compositions.

Changes to the provided initial values after the state has been created do not recreate or mutate it; hoist the state and update its properties directly to drive the frame afterwards.

Parameters

bounds

the initial value for InternalFrameState.bounds

iconified

the initial value for InternalFrameState.iconified

maximized

the initial value for InternalFrameState.maximized