BankAmountKeypad constructor

const BankAmountKeypad({
  1. required String amountText,
  2. required String currencyCode,
  3. required ValueChanged<String> onDigit,
  4. required VoidCallback onDelete,
  5. Key? key,
  6. VoidCallback? onDecimalPoint,
  7. NumeralStyle numeralStyle = NumeralStyle.western,
  8. double? maxAmount,
  9. bool enabled = true,
  10. BorderRadius? keyRadius,
  11. Color? keyColor,
  12. Color? keyForegroundColor,
  13. TextStyle? amountStyle,
  14. TextStyle? currencyStyle,
  15. TextStyle? keyTextStyle,
  16. IconData? deleteIcon,
  17. double? keyWidth,
  18. double? keyHeight,
  19. String deleteSemanticLabel = 'Delete',
  20. String decimalSemanticLabel = 'Decimal point',
  21. String? semanticLabel,
})

Implementation

const BankAmountKeypad({
  required this.amountText,
  required this.currencyCode,
  required this.onDigit,
  required this.onDelete,
  super.key,
  this.onDecimalPoint,
  this.numeralStyle = NumeralStyle.western,
  this.maxAmount,
  this.enabled = true,
  this.keyRadius,
  this.keyColor,
  this.keyForegroundColor,
  this.amountStyle,
  this.currencyStyle,
  this.keyTextStyle,
  this.deleteIcon,
  this.keyWidth,
  this.keyHeight,
  this.deleteSemanticLabel = 'Delete',
  this.decimalSemanticLabel = 'Decimal point',
  this.semanticLabel,
});