OtpFieldStyle constructor

OtpFieldStyle({
  1. Color backgroundColor = Colors.transparent,
  2. Color borderColor = Colors.black26,
  3. Color focusBorderColor = Colors.blue,
  4. Color disabledBorderColor = Colors.grey,
  5. Color enabledBorderColor = Colors.black26,
  6. Color errorBorderColor = Colors.red,
})

Implementation

OtpFieldStyle(
    {this.backgroundColor: Colors.transparent,
    this.borderColor: Colors.black26,
    this.focusBorderColor: Colors.blue,
    this.disabledBorderColor: Colors.grey,
    this.enabledBorderColor: Colors.black26,
    this.errorBorderColor: Colors.red});