BankAccountCard constructor

const BankAccountCard({
  1. required BankAccount account,
  2. Key? key,
  3. VoidCallback? onTap,
  4. VoidCallback? onLongPress,
  5. Widget itemBuilder(
    1. BuildContext,
    2. BankAccount
    )?,
  6. bool showFullBalance = true,
  7. Widget? actions,
  8. EdgeInsetsGeometry? padding,
  9. BorderRadius? radius,
  10. Color? backgroundColor,
  11. Gradient? gradient,
  12. Color? foregroundColor,
  13. Color? secondaryColor,
  14. List<BoxShadow>? shadow,
  15. TextStyle? titleStyle,
  16. TextStyle? amountStyle,
  17. TextStyle? numberStyle,
  18. IconData? typeIcon,
  19. IconData? frozenIcon,
  20. String closedLabel = 'Closed',
  21. String frozenSemanticLabel = 'Account frozen',
  22. String? semanticLabel,
  23. double? height,
})

Implementation

const BankAccountCard({
  required this.account,
  super.key,
  this.onTap,
  this.onLongPress,
  this.itemBuilder,
  this.showFullBalance = true,
  this.actions,
  this.padding,
  this.radius,
  this.backgroundColor,
  this.gradient,
  this.foregroundColor,
  this.secondaryColor,
  this.shadow,
  this.titleStyle,
  this.amountStyle,
  this.numberStyle,
  this.typeIcon,
  this.frozenIcon,
  this.closedLabel = 'Closed',
  this.frozenSemanticLabel = 'Account frozen',
  this.semanticLabel,
  this.height,
});