BankAmountKeypad constructor
const
BankAmountKeypad({
- required String amountText,
- required String currencyCode,
- required ValueChanged<
String> onDigit, - required VoidCallback onDelete,
- Key? key,
- VoidCallback? onDecimalPoint,
- NumeralStyle numeralStyle = NumeralStyle.western,
- double? maxAmount,
- bool enabled = true,
- BorderRadius? keyRadius,
- Color? keyColor,
- Color? keyForegroundColor,
- TextStyle? amountStyle,
- TextStyle? currencyStyle,
- TextStyle? keyTextStyle,
- IconData? deleteIcon,
- double? keyWidth,
- double? keyHeight,
- String deleteSemanticLabel = 'Delete',
- String decimalSemanticLabel = 'Decimal point',
- 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,
});