PinCodeKeyboard constructor

const PinCodeKeyboard({
  1. required PinCodeService pinCodeService,
  2. required String translateError(
    1. Object error
    ),
  3. BiometricsLocalDataSource? biometricsLocalDataSource,
  4. PinBiometricsAuthDataSource? biometricsAuthDataSource,
  5. String mapBiometricMessageToString(
    1. BiometricsMessage message
    )?,
  6. dynamic onAuthenticated(
    1. dynamic
    )?,
  7. PinCodeCustomKey? deleteKeyButton,
  8. PinCodeCustomKey? bottomRightKeyboardButton,
  9. String? localizedReason,
  10. bool addDependencies = true,
  11. dynamic onError(
    1. Object error,
    2. String translatedError
    )?,
  12. bool autoPromptBiometric = false,
  13. Key? key,
})

Implementation

const PinCodeKeyboard({
  required this.pinCodeService,
  required this.translateError,
  this.biometricsLocalDataSource,
  this.biometricsAuthDataSource,
  this.mapBiometricMessageToString,
  this.onAuthenticated,
  this.deleteKeyButton,
  this.bottomRightKeyboardButton,
  this.localizedReason,
  this.addDependencies = true,
  this.onError,
  this.autoPromptBiometric = false,
  super.key,
});