PricingSection constructor
const
PricingSection({ - Key? key,
- required bool hasDiscount,
- required String discountPercentage,
- required String basePrice,
- required String discountedPrice,
- required String currency,
- required String savedAmount,
- required String onlinePriceProviderLogo,
- required String onlinePriceProviderName,
- required bool isNonDiscounted,
- required String onlinePriceProviderCode,
- bool showCryptoAccepetedBadge = true,
- required bool isRoundTrip,
- bool showPassengerPassengerCount = false,
- int? passengerCount,
- bool isInColumn = false,
- bool fromTopFlights = false,
- bool hideBorder = false,
- bool isPowerAvailable = false,
- bool isSeatAvailable = false,
- bool isWifiAvailable = false,
- bool showApproxSymbol = false,
- double? btcPrice,
})
Implementation
const PricingSection({
super.key,
required this.hasDiscount,
required this.discountPercentage,
required this.basePrice,
required this.discountedPrice,
required this.currency,
required this.savedAmount,
required this.onlinePriceProviderLogo,
required this.onlinePriceProviderName,
required this.isNonDiscounted,
required this.onlinePriceProviderCode,
this.showCryptoAccepetedBadge = true,
required this.isRoundTrip,
this.showPassengerPassengerCount = false,
this.passengerCount,
this.isInColumn = false,
this.fromTopFlights = false,
this.hideBorder = false,
this.extras,
this.isPowerAvailable = false,
this.isSeatAvailable = false,
this.isWifiAvailable = false,
this.showApproxSymbol = false,
this.btcPrice,
});