diff --git a/assets/images/postcard_bg.png b/assets/images/postcard_bg.png new file mode 100644 index 0000000..9e3afd0 Binary files /dev/null and b/assets/images/postcard_bg.png differ diff --git a/lib/postcard/views/order_postcard_preview_page_view.dart b/lib/postcard/views/order_postcard_preview_page_view.dart index 602b5c6..2dc1c72 100644 --- a/lib/postcard/views/order_postcard_preview_page_view.dart +++ b/lib/postcard/views/order_postcard_preview_page_view.dart @@ -6,6 +6,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; import '../../common_packages/app_bar.dart'; import '../blocs/postcard_creation_bloc.dart'; import '../blocs/postcard_creation_state.dart'; +import '../widgets/message_card_widget.dart'; import '../widgets/postcard_preview_widget.dart'; class OrderPostcardPreviewPageView extends StatefulWidget { @@ -138,13 +139,9 @@ class _OrderPostcardPreviewPageViewState extends State false; } - diff --git a/lib/postcard/widgets/purchase_details_bottom_sheet.dart b/lib/postcard/widgets/purchase_details_bottom_sheet.dart index db0db34..39f41da 100644 --- a/lib/postcard/widgets/purchase_details_bottom_sheet.dart +++ b/lib/postcard/widgets/purchase_details_bottom_sheet.dart @@ -172,7 +172,32 @@ class PurchaseDetailsBottomSheet { ), ), - const SizedBox(height: 32), + const SizedBox(height: 15), + SizedBox( + width: double.infinity, + child: ElevatedButton( + onPressed: () { + PurchaseDetailsBottomSheet.close(context); + bloc.add(GoToNextStep()); + }, + style: ElevatedButton.styleFrom( + backgroundColor: const Color(0xffF95F62), + padding: EdgeInsets.symmetric(vertical: 16.h), + shape: RoundedRectangleBorder( + borderRadius: BorderRadius.circular(40), + ), + ), + child: Text( + "Proceed", + style: TextStyle( + color: Colors.white, + fontSize: 14.sp, + fontWeight: FontWeight.w600, + ), + ), + ), + ), + const SizedBox(height: 15), ], ), );