MUIPricingCard constructor

const MUIPricingCard({
  1. Key? key,
  2. required String title,
  3. required MUIPricingDuration duration,
  4. required MUIPricingCurrency currency,
  5. required double amount,
  6. required Widget button,
  7. String buttonText = "Buy Now",
  8. double maxWidth = 430,
  9. List<MUIPricingCardItems> items = const [],
  10. double borderRadius = 16,
  11. Color bgColor = Colors.black,
  12. TextStyle titleStyle = const TextStyle(fontSize: 18, color: Colors.white, fontWeight: FontWeight.bold),
})

Implementation

const MUIPricingCard({
  super.key,
  required this.title,
  required this.duration,
  required this.currency,
  required this.amount,
  required this.button,
  this.buttonText = "Buy Now",
  this.maxWidth = 430,
  this.items = const [],
  this.borderRadius = 16,
  this.bgColor = Colors.black,
  this.titleStyle = const TextStyle(
    fontSize: 18,
    color: Colors.white,
    fontWeight: FontWeight.bold,
  ),
});