From a64469dce409bc1a0289735eefa5059a30193e5a Mon Sep 17 00:00:00 2001 From: Nilay-squareup Date: Wed, 26 Jun 2024 12:27:17 +0530 Subject: [PATCH] Styles updated --- example/lib/widgets/cookie_button.dart | 2 +- example/lib/widgets/order_sheet.dart | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/example/lib/widgets/cookie_button.dart b/example/lib/widgets/cookie_button.dart index 1e02f0b..8897c76 100644 --- a/example/lib/widgets/cookie_button.dart +++ b/example/lib/widgets/cookie_button.dart @@ -27,7 +27,7 @@ class CookieButton extends StatelessWidget { width: MediaQuery.of(context).size.width * .44, child: ElevatedButton( style: ElevatedButton.styleFrom( - backgroundColor: mainButtonColor, + primary: mainButtonColor, shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(15.0), ), diff --git a/example/lib/widgets/order_sheet.dart b/example/lib/widgets/order_sheet.dart index af8610a..0d309c4 100644 --- a/example/lib/widgets/order_sheet.dart +++ b/example/lib/widgets/order_sheet.dart @@ -124,7 +124,7 @@ class OrderSheet extends StatelessWidget { width: MediaQuery.of(context).size.width * .44, child: ElevatedButton( style: ElevatedButton.styleFrom( - backgroundColor: Colors.black, + primary: Colors.black, shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(15.0), ), @@ -160,7 +160,7 @@ class OrderSheet extends StatelessWidget { width: MediaQuery.of(context).size.width * .44, child: ElevatedButton( style: ElevatedButton.styleFrom( - backgroundColor: Colors.black, + primary: Colors.black, shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(15.0), ),