KrOtpKeyboard constructor

const KrOtpKeyboard({
  1. Key? key,
  2. Color? buttonColor,
  3. ButtonStyle? buttonStyle,
  4. TextStyle? primaryTextStyle,
  5. TextStyle? secondaryTextStyle,
  6. double spacing = 6,
  7. double runSpacing = 6,
  8. EdgeInsetsGeometry? keyboardPadding,
  9. dynamic onKeyPressed(
    1. String
    )?,
})

Implementation

const KrOtpKeyboard({
  Key? key,
  this.buttonColor,
  this.buttonStyle,
  this.primaryTextStyle,
  this.secondaryTextStyle,
  this.spacing = 6,
  this.runSpacing = 6,
  this.keyboardPadding,
  this.onKeyPressed,
}) : super(key: key);