PinOtpField constructor
const
PinOtpField({
- Key? key,
- required int length,
- required OtpFieldDecorator decorator,
- bool obscure = false,
- String hintChar = '',
- String? validator(
- String value
- TextStyle errorStyle = const TextStyle(color: Colors.red, fontSize: 14),
- required ValueChanged<
String> onCompleted,
Implementation
const PinOtpField({
Key? key,
required this.length,
required this.decorator,
this.obscure = false,
this.hintChar = '',
this.validator,
this.errorStyle = const TextStyle(color: Colors.red, fontSize: 14),
required this.onCompleted,
}) : super(key: key);