Kmp Popup
Creates a customizable Popup with a given alignment
Parameters
The alignment relative to the parent.
Calls onDismissRequest when the back button or escape button is pressed. If this is set to true, all back handlers will be ignored.
An offset from the original aligned position of the popup. Offset respects the Ltr/Rtl context, thus in Ltr it will be added to the original aligned position and in Rtl it will be subtracted from it.
Executes when the user clicks outside the popup.
Whether the popup is focusable. When true, the popup will receive IME events and key presses, such as when the back button is pressed.
Handles the onPreviewKey event
Handles the onKeyEvent. onKeyEvent allows consuming key events before reaching any BackHandlers.
Utilized in Android and iOS. Specifies whether to draw behind the system bars or not. Setting isFullScreen to true will ignore alignment and offset parameters
The content to be displayed inside the popup.
Creates a customizable Popup with a given position
Parameters
Calculates the position of a popup on screen.
Calls onDismissRequest when the back button or escape button is pressed. If this is set to true, all back handlers will be ignored.
Executes when the user clicks outside the popup.
Whether the popup is focusable. When true, the popup will receive IME events and key presses, such as when the back button is pressed.
Handles the onPreviewKey event
Handles the onKeyEvent
Utilized in Android and iOS. Specifies whether to draw behind the system bars or not. Setting isFullScreen to true will ignore popupPositionProvider
The content to be displayed inside the popup.