PricingSection class

Inheritance
Available Extensions

Constructors

PricingSection({Key? key, required bool hasDiscount, required String discountPercentage, required String basePrice, required String discountedPrice, required String currency, required String savedAmount, 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, ExtraServices? extras, bool isPowerAvailable = false, bool isSeatAvailable = false, bool isWifiAvailable = false, bool showApproxSymbol = false, double? btcPrice})
const

Properties

basePrice → String
final
btcPrice → double?
final
currency → String
final
discountedPrice → String
final
discountPercentage → String
final
extras → ExtraServices?
final
fromTopFlights → bool
final
hasDiscount → bool
final
hashCode → int
The hash code for this object.
no setterinherited
hideBorder → bool
final
isInColumn → bool
final
isNonDiscounted → bool
final
isPowerAvailable → bool
final
isRoundTrip → bool
final
isSeatAvailable → bool
final
isWifiAvailable → bool
final
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onlinePriceProviderCode → String
final
final
onlinePriceProviderName → String
final
passengerCount → int?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
savedAmount → String
final
showApproxSymbol → bool
final
showCryptoAccepetedBadge → bool
final
showPassengerPassengerCount → bool
final

Methods

build(BuildContext context) → Widget
Describes the part of the user interface represented by this widget.
override
createElement() → StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
debugDescribeChildren() → List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String
Returns a one-line detailed description of the object.
inherited
toStringShort() → String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited