CardBody constructor

const CardBody({
  1. Key? key,
  2. required String title,
  3. required TextStyle titleStyle,
  4. required String number,
  5. required TextStyle numberStyle,
  6. required FMMaskType numberMaskType,
  7. required String validThru,
  8. required TextStyle validThruStyle,
  9. required FMMaskType validThruMaskType,
  10. required String cvv,
  11. required TextStyle cvvStyle,
  12. required FMMaskType cvvMaskType,
  13. required String holder,
  14. required TextStyle holderStyle,
})

Card Body

This contain all the data within the card. Such data include

  • Title
  • Title Style
  • Number
  • Number Style
  • Valid Thru
  • Valid Thru Style
  • CVV
  • CVV Style
  • Holder
  • Holder Style
  • Card Type

Implementation

const CardBody({
  super.key,
  required this.title,
  required this.titleStyle,
  required this.number,
  required this.numberStyle,
  required this.numberMaskType,
  required this.validThru,
  required this.validThruStyle,
  required this.validThruMaskType,
  required this.cvv,
  required this.cvvStyle,
  required this.cvvMaskType,
  required this.holder,
  required this.holderStyle,
});