Fix :- Fixed the grey screen bug in get a pass and cart section.

This commit is contained in:
2026-01-06 15:34:37 +05:30
parent 3c05534262
commit ada6040514
12 changed files with 208 additions and 47 deletions

View File

@@ -20,14 +20,14 @@ class PassCardView extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Container(
decoration: BoxDecoration(
color: Colors.white,
border: Border.all(color:( themeColor ?? Color(0xFFF95FAF)).withOpacity(0.24)),
borderRadius: BorderRadius.circular(8.r),
),
child: Expanded(
child: Row(
return Expanded(
child: Container(
decoration: BoxDecoration(
color: Colors.white,
border: Border.all(color:( themeColor ?? Color(0xFFF95FAF)).withOpacity(0.24)),
borderRadius: BorderRadius.circular(8.r),
),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Row(
@@ -54,7 +54,7 @@ class PassCardView extends StatelessWidget {
weight: FontWeight.w500,
size: 16.sp,
),
Row(
children: [
Text(
@@ -83,7 +83,7 @@ class PassCardView extends StatelessWidget {
),
],
),
Row(
children: [
Text(
@@ -112,7 +112,7 @@ class PassCardView extends StatelessWidget {
),
],
),
SizedBox(
width: 193.w,
child: CustomText(
@@ -126,7 +126,7 @@ class PassCardView extends StatelessWidget {
),
],
),
Container(
width: 35.w,
height: 140.h,
@@ -159,7 +159,7 @@ class PassCardView extends StatelessWidget {
),
],
),
),
);
),
);
}
}

View File

@@ -22,15 +22,15 @@ class MyPassesPage extends StatelessWidget {
Column(
children: [
SizedBox(height: 22.h),
Container(
decoration: BoxDecoration(
color: Colors.white,
border: Border.all(
color: Color(0xFFF95FAF).withOpacity(0.2),
Expanded(
child: Container(
decoration: BoxDecoration(
color: Colors.white,
border: Border.all(
color: Color(0xFFF95FAF).withOpacity(0.2),
),
borderRadius: BorderRadius.circular(8.r),
),
borderRadius: BorderRadius.circular(8.r),
),
child: Expanded(
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [

View File

@@ -40,13 +40,13 @@ class CheckoutView extends StatelessWidget {
),
SizedBox(height: 22.h),
Container(
decoration: BoxDecoration(
color: Colors.white,
border: Border.all(color: Color(0xFFF95FAF).withOpacity(0.2)),
borderRadius: BorderRadius.circular(8.r),
),
child: Expanded(
Expanded(
child: Container(
decoration: BoxDecoration(
color: Colors.white,
border: Border.all(color: Color(0xFFF95FAF).withOpacity(0.2)),
borderRadius: BorderRadius.circular(8.r),
),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [

View File

@@ -246,4 +246,4 @@
// ),
// );
// }
// }
// }