pageContent method
Implementation
Widget pageContent() {
return Padding(
padding: EdgeInsets.symmetric(horizontal:32.dp),
child: SingleChildScrollView(
child: Column(
children: [
Card(
color: Colors.white,
elevation: 3,
child: ResponsiveGridRow(
children: [
ResponsiveGridCol(
xl: 12,
lg: 12,
md: 12,
sm: 12,
xs: 12,
child: ResponsiveGridRow(
children: [
ResponsiveGridCol(
xl: 3,
lg: 12,
md: 12,
sm: 12,
xs: 12,
child: const UserProfileCard(),
),
ResponsiveGridCol(
xl: 9,
lg: 12,
md: 12,
sm: 12,
xs: 12,
child: const NeoMilesCard(),
)
],
),
),
],
),
),
ResponsiveGridRow(
children: [
ResponsiveGridCol(
xl: 7,
lg: 12,
md: 12,
sm: 12,
xs: 12,
child: transactionHistoryCard(),
),
ResponsiveGridCol(
xl: 5,
lg: 12,
md: 12,
sm: 12,
xs: 12,
child: referralHistoryCard(),
)
],
),
60.dp.SpaceX,
],
),
),
);
}