Sheet

public struct Sheet : Sheetable

A model used for presenting a SwiftUI sheet element.

  • id

    A unique identifier.

    Declaration

    Swift

    public let id: UUID
  • A unique identifier of the associated Destination being presented.

    Declaration

    Swift

    public var destinationID: UUID
  • The View to be presented in the sheet.

    Declaration

    Swift

    public var view: ContainerView<AnyView>
  • An options model which configures a SwiftUI sheet for presentation.

    Declaration

    Swift

    public var options: ViewSheetPresentationOptions?
  • The initializer.

    Declaration

    Swift

    public init(destinationID: UUID, view: ContainerView<AnyView>, options: ViewSheetPresentationOptions? = nil)

    Parameters

    destinationID

    A unique identifier of the associated Destination being presented.

    view

    The View to be presented in the sheet.

    options

    An options model which configures a SwiftUI sheet for presentation.

  • Declaration

    Swift

    public var description: String { get }