openFlightInvitationBottomSheet static method
- required BuildContext context,
- required OfferModel? offer,
- Estimate? estimate,
Implementation
static openFlightInvitationBottomSheet({
required BuildContext context,
required OfferModel? offer,
Estimate? estimate,
}) {
openBottomSheet(
Column(
mainAxisSize: MainAxisSize.min,
children: [
SizedBox(
height: context.y,
child: FlightsInvitationCard(
offer: offer,
estimate: estimate,
fromBottomSheet: true,
),
)
],
),
);
}