DialogViewForQRSaved
@MainActor
struct DialogViewForQRSaved : View
Creates a dialog view with a single button.
-
Title of the dialog
Declaration
Swift
@MainActor var title: String
-
Message of the dialog
Declaration
Swift
@MainActor var message: String
-
The title of the button
Declaration
Swift
@MainActor var buttonTitle: String
-
The color of the title
Declaration
Swift
@MainActor var titleColor: String
-
Bool value to indicate if the dialog is active or not
Declaration
Swift
@Binding @MainActor var isActive: Bool { get nonmutating set }
-
A closure to be called when the button is tapped.
Declaration
Swift
@MainActor var onTapButton: () -> Void
-
Declaration
Swift
@MainActor var body: some View { get }