OTPStyle constructor

OTPStyle({
  1. double maxHeight = 50,
  2. double maxWidth = 50,
  3. double space = 10,
  4. bool isDense = true,
  5. Color? cursorColor,
  6. double? cursorHeight,
  7. Radius? cursorRadius,
  8. double cursorWidth = 2,
  9. InputBorder? inputBorder,
  10. TextStyle? style,
})

Implementation

OTPStyle({
  this.maxHeight = 50,
  this.maxWidth = 50,
  this.space = 10,
  this.isDense = true,
  this.cursorColor,
  this.cursorHeight,
  this.cursorRadius,
  this.cursorWidth = 2,
  this.inputBorder,
  this.style,
});