NiceInputOtp constructor
const
NiceInputOtp({
- Key? key,
- int length = 6,
- ValueChanged<
String> ? onCompleted, - ValueChanged<
String> ? onChanged, - bool obscureText = false,
- TextInputType inputType = TextInputType.number,
- bool autoFocus = true,
- bool readOnly = false,
- bool filled = true,
- double fieldSize = 48.0,
- double gap = 8.0,
- String hintChar = '○',
- String? errorText,
- String? label,
Implementation
const NiceInputOtp({
super.key,
this.length = 6,
this.onCompleted,
this.onChanged,
this.obscureText = false,
this.inputType = TextInputType.number,
this.autoFocus = true,
this.readOnly = false,
this.filled = true,
this.fieldSize = 48.0,
this.gap = 8.0,
this.hintChar = '○',
this.errorText,
this.label,
});