Skip to main content

sheet

Function sheet 

Source
pub fn sheet(
    view: &ViewHandle,
    content: &ViewHandle,
    presented: bool,
) -> ViewHandle
Expand description

sheet with a fixed flag. It cannot be dismissed: SwiftUI treats a Binding.constant as read-only, so the presentation has no way to write false back. Use sheet_bound for one the user can close.