Updated bottomsheet bg color

This commit is contained in:
Vinayakkadge04
2025-10-29 19:59:49 +05:30
parent d73faf7506
commit a2ff4253ed
6 changed files with 13 additions and 3 deletions

View File

@@ -345,6 +345,7 @@ class CheckoutView extends StatelessWidget {
CustomFilledButton(
onTap: () {
showModalBottomSheet(
backgroundColor: Colors.white,
context: context,
isScrollControlled: true,
shape: RoundedRectangleBorder(

View File

@@ -71,7 +71,9 @@ class AllCouponsBottomsheet extends StatelessWidget {
GestureDetector(
onTap: (){
Navigator.pop(context);
showModalBottomSheet(context: context,
showModalBottomSheet(
backgroundColor: Colors.white,
context: context,
isScrollControlled: true,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.vertical(

View File

@@ -62,6 +62,7 @@ class LoginEmailBottomsheet extends StatelessWidget {
Navigator.pop(context);
showModalBottomSheet(
context: context,
backgroundColor: Colors.white,
isScrollControlled: true,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.vertical(

View File

@@ -200,7 +200,9 @@ class PurchaseDetailsBottomsheet extends StatelessWidget {
// --- Proceed Button ---
CustomFilledButton(
onTap: () {},
onTap: () {
Navigator.pop(context);
},
label: "Proceed",
width: double.infinity,
),

View File

@@ -76,7 +76,9 @@ class VerifyOtpBottomsheet extends StatelessWidget {
SizedBox(height: 42.h),
CustomFilledButton(
onTap: () {},
onTap: () {
Navigator.pop(context);
},
label: "Continue",
width: double.infinity,
),

View File

@@ -1,4 +1,5 @@
import 'package:citycards_customer/cart/blocs/postcard_bloc.dart';
import 'package:citycards_customer/core/route_constants.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
@@ -39,6 +40,7 @@ class MyApp extends StatelessWidget {
],
child: MaterialApp(
onGenerateRoute: _appRouter.onGenerateRoute,
initialRoute: RouteConstants.buyPass,
debugShowCheckedModeBanner: false,
title: 'City Cards',
theme: ThemeData(