PasswordDialog

@MainActor
struct PasswordDialog : View
  • Dialog is active or not

    Declaration

    Swift

    @Binding
    @MainActor
    var isActive: Bool { get nonmutating set }
  • Password textfield

    Declaration

    Swift

    @State
    @MainActor
    var textField: String { get nonmutating set }
  • Indicates if there is an error

    Declaration

    Swift

    @Binding
    @MainActor
    var isError: Bool { get nonmutating set }
  • This EnvironmentObject navigationStore give access to all the view we want to navigate to and from It can be used to pop and push the view in the stack.

    Declaration

    Swift

    @EnvironmentObject
    @MainActor
    private var navigationStore: NavigationStackController { get }
  • Button listener

    Declaration

    Swift

    @MainActor
    var onTapButton: (String) -> Void
  • Declaration

    Swift

    @MainActor
    struct BackgroundImageForEnterPass : View
  • Declaration

    Swift

    @MainActor
    var body: some View { get }
  • Back button for dismissing the password dialog box

    See more

    Declaration

    Swift

    @MainActor
    struct PasswordDialogDismiss : View