CodePanel constructor

CodePanel({
  1. dynamic codeLength,
  2. dynamic currentLength,
  3. dynamic borderColor,
  4. dynamic foregroundColor,
  5. DeleteCode? deleteCode,
  6. bool? fingerVerify,
  7. 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);