PinCodeFieldWidget constructor

const PinCodeFieldWidget({
  1. Key? key,
  2. required String keyName,
  3. StreamController<ErrorAnimationType>? errorController,
  4. String? labelText,
  5. bool isRequired = true,
  6. bool isNumeric = false,
  7. Color? fillColor,
  8. dynamic onChange(
    1. String?
    )?,
  9. int? length,
  10. TextInputType keyboardInputType = TextInputType.number,
  11. FormFieldValidator<String>? validator,
  12. ValueChanged<String>? onCompleted,
  13. double? fieldHeight,
  14. double? fieldWidth,
})

Implementation

const PinCodeFieldWidget(
    {Key? key,
    required this.keyName,
    this.errorController,
    this.labelText,
    this.isRequired = true,
    this.isNumeric = false,
    this.fillColor,
    this.onChange,
    this.length,
    this.keyboardInputType = TextInputType.number,
    this.validator,
    this.onCompleted,
    this.fieldHeight,
    this.fieldWidth})
    : super(key: key);