openFlightInvitationBottomSheet static method

dynamic openFlightInvitationBottomSheet({
  1. required BuildContext context,
  2. required OfferModel? offer,
  3. 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,
          ),
        )
      ],
    ),
  );
}