NumPad constructor

const NumPad({
  1. required OnNumberButtonPressed onNumberTap,
  2. VoidCallback? onDeleteTap,
  3. VoidCallback? onDoneTap,
  4. double? buttonElevation,
  5. Color? buttonBackgroundColor,
  6. Color? buttonForegroundColor,
  7. Size? buttonSize,
  8. double? buttonRadius,
  9. double? numPadVerticalSpacing,
  10. double? numPadHorizontalSpacing,
  11. Widget? deleteWidget,
  12. Widget? doneWidget,
  13. bool enableDone = false,
  14. Key? key,
})

Implementation

const NumPad({
  required this.onNumberTap,
  this.onDeleteTap,
  this.onDoneTap,
  this.buttonElevation,
  this.buttonBackgroundColor,
  this.buttonForegroundColor,
  this.buttonSize,
  this.buttonRadius,
  this.numPadVerticalSpacing,
  this.numPadHorizontalSpacing,
  this.deleteWidget,
  this.doneWidget,
  this.enableDone = false,
  super.key,
});