LockScreen constructor
LockScreen({
- required VoidCallback onSuccess,
- required String title,
- Color? borderColor,
- Color? foregroundColor = Colors.transparent,
- required int passLength,
- required PassCodeVerify passCodeVerify,
- VoidCallback? fingerFunction,
- bool? fingerVerify = false,
- bool? showFingerPass = false,
- String? bgImage,
- Color? numColor = Colors.black,
- Widget? fingerPrintImage,
- bool? showWrongPassDialog = false,
- String? wrongPassTitle,
- String? wrongPassContent,
- String? wrongPassCancelButtonText,
Lock Screen constructer
Implementation
LockScreen({
required this.onSuccess,
required this.title,
this.borderColor,
this.foregroundColor = Colors.transparent,
required this.passLength,
required this.passCodeVerify,
this.fingerFunction,
this.fingerVerify = false,
this.showFingerPass = false,
this.bgImage,
this.numColor = Colors.black,
this.fingerPrintImage,
this.showWrongPassDialog = false,
this.wrongPassTitle,
this.wrongPassContent,
this.wrongPassCancelButtonText,
}) : assert(passLength <= 8),
assert(bgImage != null),
assert(borderColor != null),
assert(foregroundColor != null);