CardBody constructor
const
CardBody({
- Key? key,
- required String title,
- required TextStyle titleStyle,
- required String number,
- required TextStyle numberStyle,
- required FMMaskType numberMaskType,
- required String validThru,
- required TextStyle validThruStyle,
- required FMMaskType validThruMaskType,
- required String cvv,
- required TextStyle cvvStyle,
- required FMMaskType cvvMaskType,
- required String holder,
- 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,
});