mainContainer method

SingleChildScrollView mainContainer(
  1. BuildContext context
)

Implementation

SingleChildScrollView mainContainer(BuildContext context) {
  return SingleChildScrollView(
    child: Container(
      padding: EdgeInsets.symmetric(vertical: 20.dp),
      color: Colors.white,
      child: Column(
        crossAxisAlignment: CrossAxisAlignment.center,
        children: [
          _topBanner(context),
          context.x<768?
          28.SpaceX:
          86.SpaceX,
          travel(context),
          74.SpaceX,
          coreValues(context),
          context.x<768?
          48.SpaceX:
          74.SpaceX,
          _unmatchedRatesSection(context),
          74.SpaceX,
          _promise(context),
          context.x<768?
          34.SpaceX:
          16.SpaceX,
          ConstrainedBox(
            constraints: BoxConstraints(maxWidth: 1100),
            child: Center(
              child: Container(
                decoration: BoxDecoration(
                    color: ColorHelper.lightBackground3,
                    borderRadius: BorderRadius.circular(12)),
               margin: EdgeInsets.symmetric(horizontal: context.x<768? 12:0),
                padding: EdgeInsets.symmetric(horizontal: 28, vertical: 16),
                child: Text(
                  'We don’t just create trips; we curate memories, elevate experiences, and build connections. Join us, and redefine what travel means to you. Together, let’s explore beyond the ordinary and craft a future of journeys filled with purpose and wonder.',
                  textAlign: TextAlign.left,
                  style: TextStyle(
                    fontSize: 18,
                    fontWeight: FontWeight.w400,
                    color: ColorHelper.neutralMediumText,
                    fontFamily: "SFProDisplay",
                  ),
                ),
              ),
            ),
          )
        ],
      ),
    ),
  );
}