LivenessToggleButton
@MainActor
struct LivenessToggleButton : View
This view is used in genrate QR view for 2 button where user can select if they want the liveness to be on or off which means if they genrate QR with liveness on the have to present the live face while decrypting the QR
-
Button title
Declaration
Swift
@MainActor var text: String
-
Button background color
Declaration
Swift
@MainActor var backgroundColor: String
-
Button corner radius
Declaration
Swift
@MainActor var cornerRadius: CGFloat
-
Button height
Declaration
Swift
@MainActor var height: CGFloat
-
Button border color
Declaration
Swift
@MainActor var borderColor: Color
-
Button text color
Declaration
Swift
@MainActor var foregroundColor: String
-
Button listener
Declaration
Swift
@MainActor var onTapButton: () -> Void
-
Declaration
Swift
@MainActor var body: some View { get }