coreValues method
- BuildContext context
Implementation
Widget coreValues(BuildContext context) {
return Container(
color: ColorHelper.primaryColor1,
child: Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Container(
padding: EdgeInsets.symmetric(
vertical: context.x<768? 38:72, horizontal: context.x > 1100 ? 0 : 12),
width: context.x,
constraints: context.x > 1100
? BoxConstraints(maxWidth: 1100)
: BoxConstraints(maxWidth: context.x),
decoration: BoxDecoration(
color: ColorHelper.primaryColor1,
),
child: Column(
children: [
ResponsiveGridRow(
children: [
ResponsiveGridCol(
lg: 7,
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
'Our Core Values',
style: TextStyle(
fontSize: context.x < 1100 ? 22.dp : 33.5.dp,
fontWeight: FontWeight.w600,
color: ColorHelper.white,
fontFamily: "PlayFairDisplay",
),
),
30.dp.SpaceX,
Text(
'Accessibility',
style: TextStyle(
fontSize: 20.dp,
fontWeight: FontWeight.bold,
color: ColorHelper.white,
fontFamily: "SFProDisplay",
),
),
7.dp.SpaceX,
Text(
'Opening doors to premium travel experiences for everyone.',
style: TextStyle(
fontSize: 14.dp,
fontWeight: FontWeight.w400,
color: ColorHelper.grey02_2,
fontFamily: "SFProDisplay",
),
),
context.x<768?
15.dp.SpaceX:
30.dp.SpaceX,
Text(
'Simplicity',
style: TextStyle(
fontSize: 20.dp,
fontWeight: FontWeight.bold,
color: ColorHelper.white,
fontFamily: "SFProDisplay",
),
),
7.dp.SpaceX,
Text(
'Streamlining the planning process so you can focus on the journey.',
style: TextStyle(
fontSize: 14.dp,
fontWeight: FontWeight.w400,
color: ColorHelper.grey02_2,
fontFamily: "SFProDisplay",
),
),
context.x<768?
15.dp.SpaceX:
30.dp.SpaceX,
Text(
'Innovation',
style: TextStyle(
fontSize: 20.dp,
fontWeight: FontWeight.bold,
color: ColorHelper.white,
fontFamily: "SFProDisplay",
),
),
7.dp.SpaceX,
Text(
'Integrating cutting-edge technology and creative solutions for smarter, more efficient travel.',
style: TextStyle(
fontSize: 14.dp,
fontWeight: FontWeight.w400,
color: ColorHelper.grey02_2,
fontFamily: "SFProDisplay",
),
),
context.x<768?
15.dp.SpaceX:
30.dp.SpaceX,
Text(
'Transparency',
style: TextStyle(
fontSize: 20.dp,
fontWeight: FontWeight.bold,
color: ColorHelper.white,
fontFamily: "SFProDisplay",
),
),
7.dp.SpaceX,
Text(
'Offering honest, straightforward pricing with no hidden surprises.',
style: TextStyle(
fontSize: 14.dp,
fontWeight: FontWeight.w400,
color: ColorHelper.grey02_2,
fontFamily: "SFProDisplay",
),
),
context.x<768?
15.dp.SpaceX:
30.dp.SpaceX,
Text(
'Impact',
style: TextStyle(
fontSize: 20.dp,
fontWeight: FontWeight.bold,
color: ColorHelper.white,
fontFamily: "SFProDisplay",
),
),
7.dp.SpaceX,
Text(
'Fostering sustainability with every booking by supporting environmental initiatives such as reforestation and carbon offset programs. All transparent and public on the Blockchain. Don’t Just Trust – Verify Here and Now.',
style: TextStyle(
fontSize: 14.dp,
fontWeight: FontWeight.w400,
color: ColorHelper.grey02_2,
fontFamily: "SFProDisplay",
),
)
],
),
),
// ResponsiveGridCol(
// lg: 1,
// child: const SizedBox.shrink(),
// ),
ResponsiveGridCol(
lg: 5,
child: Padding(
padding: EdgeInsets.fromLTRB(context.isMobile? 0:35, context.isMobile? 47:40, 0, context.isMobile? 47:0),
child: context.x<768
?Image.asset('assets/theClub/coreValues_mobile.webp',fit: BoxFit.cover)
:SizedBox(
height: 500,
child: ClipRRect(
borderRadius: BorderRadius.circular(20),
child: Image.asset('assets/theClub/coreValues.webp',fit: BoxFit.cover)
)
),
),
),
],
),
],
),
),
],
),
);
}