DigitsPadlock constructor

DigitsPadlock({
  1. required String digits,
  2. String? title = kDefaultPadlockTitle,
  3. String? unlockMessage = kDefaultPadlockUnlockMessage,
  4. String? failedToUnlockMessage = kDefaultFailedToUnlockMessage,
  5. HintBuilder? hintBuilder,
})

Creates a new CredentialsPadlock instance.

Implementation

DigitsPadlock({
  required this.digits,
  super.title = kDefaultPadlockTitle,
  super.unlockMessage = kDefaultPadlockUnlockMessage,
  super.failedToUnlockMessage = kDefaultFailedToUnlockMessage,
  super.hintBuilder,
}) : super(
        validObject: digits,
      );