CodePanel constructor
CodePanel({
- dynamic codeLength,
- dynamic currentLength,
- dynamic borderColor,
- dynamic foregroundColor,
- DeleteCode? deleteCode,
- bool? fingerVerify,
- int? status,
Implementation
CodePanel(
{this.codeLength,
this.currentLength,
this.borderColor,
this.foregroundColor,
this.deleteCode,
this.fingerVerify,
this.status})
: assert(codeLength > 0),
assert(currentLength >= 0),
assert(currentLength <= codeLength),
assert(deleteCode != null),
assert(status == 0 || status == 1 || status == 2);