Pinpad constructor

const Pinpad({
  1. required dynamic onKeyTap(
    1. String key
    ),
  2. BoxDecoration? keyDefaultDecoration,
  3. BoxDecoration? keyPressedDecoration,
  4. BoxDecoration? keyDisabledDecoration,
  5. double? horizontalSpacing,
  6. double? verticalSpacing,
  7. bool enabled = true,
  8. PinpadExtraKey? rightExtraKey,
  9. PinpadExtraKey? leftExtraKey,
  10. TextStyle? keyDefaultTextStyle,
  11. TextStyle? keyPressedTextStyle,
  12. TextStyle? keyDisabledTextStyle,
  13. double? keyHeight,
  14. double? keyWidth,
  15. bool vibrationEnabled = false,
  16. bool isVisible = true,
  17. Key? key,
})

Pinpad widget. Pinpad is a special keyboard for entering pin code.

Implementation

const Pinpad({
  required this.onKeyTap,
  this.keyDefaultDecoration,
  this.keyPressedDecoration,
  this.keyDisabledDecoration,
  this.horizontalSpacing,
  this.verticalSpacing,
  this.enabled = true,
  this.rightExtraKey,
  this.leftExtraKey,
  this.keyDefaultTextStyle,
  this.keyPressedTextStyle,
  this.keyDisabledTextStyle,
  this.keyHeight,
  this.keyWidth,
  this.vibrationEnabled = false,
  this.isVisible = true,
  super.key,
});