rememberWindowState
@Composable
Creates a WindowState 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 window afterwards.
Parameters
position
the initial value for WindowState.position
size
the initial value for WindowState.size; a null size sizes the window to its content, while a non-null size is applied verbatim
extendedState
the initial value for WindowState.extendedState