CustomPinCodeField constructor

const CustomPinCodeField(
  1. {Key? key,
  2. required int length,
  3. required void onChanged(
    1. String value
    ),
  4. bool beforeTextPaste(
    1. String? text
    )?,
  5. String? hintCharacter,
  6. String? dialogTitle,
  7. String? dialogContent,
  8. String? negativeText,
  9. String? affirmativeText,
  10. void onCompleted(
    1. String value
    )?}
)

Implementation

const CustomPinCodeField({
  Key? key,
  required this.length,
  required this.onChanged,
  this.beforeTextPaste,
  this.hintCharacter,
  this.dialogTitle,
  this.dialogContent,
  this.negativeText,
  this.affirmativeText,
  this.onCompleted,
}) : super(key: key);