MUIPricingCard constructor
const
MUIPricingCard({
- Key? key,
- required String title,
- required MUIPricingDuration duration,
- required MUIPricingCurrency currency,
- required double amount,
- required Widget button,
- String buttonText = "Buy Now",
- double maxWidth = 430,
- List<
MUIPricingCardItems> items = const [], - double borderRadius = 16,
- Color bgColor = Colors.black,
- 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,
),
});