PricingPage constructor
const
PricingPage({
- Key? key,
- required List<
PricesModel> pricesList, - int? crossAxisCount,
- String title = 'Pricing',
- required String subtitle,
- String buttonName = 'START NOW',
- String perYearText = 'START NOW',
- String perMonthText = 'START NOW',
- String payMonthly = 'Pay monthly',
- String payYearly = 'Pay yearly',
- BoxDecoration decorationMapper(
- BoxDecoration decoration
- double childAspectRatio = 1,
- double width = double.infinity,
- bool forceAllColumnsToHaveSameSizeInDesktop = false,
Implementation
const PricingPage({
super.key,
required this.pricesList,
int? crossAxisCount,
this.title = 'Pricing',
required this.subtitle,
this.buttonName = 'START NOW',
this.perYearText = 'START NOW',
this.perMonthText = 'START NOW',
this.payMonthly = 'Pay monthly',
this.payYearly = 'Pay yearly',
this.decorationMapper,
this.childAspectRatio = 1,
this.width = double.infinity,
this.forceAllColumnsToHaveSameSizeInDesktop = false,
}) : crossAxisCount = crossAxisCount ?? pricesList.length;