OtpInputField constructor
const
OtpInputField({
- Key? key,
- int length = 6,
- required ValueChanged<
String> onCompleted, - double spacing = 8,
- double boxSize = 48,
- TextStyle? textStyle,
- BoxDecoration? boxDecoration,
- TextEditingController? controller,
Implementation
const OtpInputField({
super.key,
this.length = 6,
required this.onCompleted,
this.spacing = 8,
this.boxSize = 48,
this.textStyle,
this.boxDecoration,
this.controller,
});