PinCodeFieldWidget constructor
const
PinCodeFieldWidget({
- Key? key,
- required String keyName,
- StreamController<
ErrorAnimationType> ? errorController, - String? labelText,
- bool isRequired = true,
- bool isNumeric = false,
- Color? fillColor,
- dynamic onChange()?,
- int? length,
- TextInputType keyboardInputType = TextInputType.number,
- FormFieldValidator<
String> ? validator, - ValueChanged<
String> ? onCompleted, - double? fieldHeight,
- 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);