CardDesign constructor

const CardDesign({
  1. Color text = Colors.white,
  2. Color variantText = Colors.white,
  3. Color background = Colors.black,
  4. Color button = _placeHolderColor,
  5. Color buttonText = Colors.white,
})

Implementation

const CardDesign({
  this.text = Colors.white,
  this.variantText = Colors.white,
  this.background = Colors.black,
  this.button = _placeHolderColor,
  this.buttonText = Colors.white,
});