OtpTextField constructor
const
OtpTextField({
- Key? key,
- FocusNode? focusNode,
- dynamic onChanged(
- String v
- TextEditingController? controller,
- dynamic onSubmit(
- String v
- InputBorder? inputBorder,
- required double maxWidth,
- required double maxHeight,
- bool? isDense,
- TextStyle? style,
- Color? cursorColor,
- double? cursorHeight,
- Radius? cursorRadius,
- double cursorWidth = 2,
Implementation
const OtpTextField({
super.key,
this.focusNode,
this.onChanged,
this.controller,
this.onSubmit,
this.inputBorder,
required this.maxWidth,
required this.maxHeight,
this.isDense,
this.style,
this.cursorColor,
this.cursorHeight,
this.cursorRadius,
this.cursorWidth = 2,
});