PersonDetailView
@MainActor
struct PersonDetailView : View
This view display all the details of the user after scanning the QR code successfully. This struct represents the detail view of a person. It conforms to the View protocol.
-
Metadata of the person.
Declaration
Swift
@MainActor var metaData: [String : String]
-
State variable to control the view mode.
Declaration
Swift
@State @MainActor var isViewMore: Bool { get nonmutating set }
-
State variable to indicate if it is the main view.
Declaration
Swift
@State @MainActor var isMain: 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 }
-
Face bytes data.
Declaration
Swift
@MainActor var faceBytes: Data
-
This struct represents the background image section of the view.
See moreDeclaration
Swift
@MainActor struct BackgroundImageSections : View
-
This struct represents the back button section of the view. It takes a closure onTapBack which is called when the back button is tapped.
See moreDeclaration
Swift
@MainActor struct BackToMainSectionFromData : View
-
Declaration
Swift
@MainActor var body: some View { get }