LivenessToggleButton
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
var text: String
-
Button background color
Declaration
Swift
var backgroundColor: String
-
Button corner radius
Declaration
Swift
var cornerRadius: CGFloat
-
Button height
Declaration
Swift
var height: CGFloat
-
Button border color
Declaration
Swift
var borderColor: Color
-
Button text color
Declaration
Swift
var foregroundColor: String
-
Button listener
Declaration
Swift
var onTapButton: () -> Void
-
Declaration
Swift
var body: some View { get }