|  |  | @ -105,57 +105,136 @@ class ButtonSheetContent extends StatelessWidget { | 
			
		
	
		
		
			
				
					
					|  |  |  | } |  |  |  | } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | void showCommonBottomSheetWithoutHeight( |  |  |  | void showCommonBottomSheetWithoutHeight( | 
			
		
	
		
		
			
				
					
					|  |  |  |   BuildContext context, { |  |  |  |     BuildContext context, { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |   required Widget child, |  |  |  |       required Widget child, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |   required VoidCallback callBackFunc, |  |  |  |       required VoidCallback callBackFunc, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |   String title = "", |  |  |  |       String title = "", | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |   bool isCloseButtonVisible = true, |  |  |  |       bool isCloseButtonVisible = true, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |   bool isFullScreen = true, |  |  |  |       bool isFullScreen = true, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |   bool isDismissible = true, |  |  |  |       bool isDismissible = true, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |   Widget? titleWidget, |  |  |  |       Widget? titleWidget, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |   bool useSafeArea = false, |  |  |  |       bool useSafeArea = false, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |     }) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | }) { |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |   showModalBottomSheet<String>( |  |  |  |   showModalBottomSheet<String>( | 
			
		
	
		
		
			
				
					
					|  |  |  |       sheetAnimationStyle: AnimationStyle( |  |  |  |     sheetAnimationStyle: AnimationStyle( | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         duration: Duration(milliseconds: 500), // Custom animation duration |  |  |  |       duration: Duration(milliseconds: 500), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         reverseDuration: Duration(milliseconds: 300), // Custom reverse animation duration |  |  |  |       reverseDuration: Duration(milliseconds: 300), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       ), |  |  |  |     ), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       context: context, |  |  |  |     context: context, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       isScrollControlled: true, |  |  |  |     isScrollControlled: true, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       showDragHandle: false, |  |  |  |     showDragHandle: false, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       isDismissible: isDismissible, |  |  |  |     isDismissible: isDismissible, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       backgroundColor: AppColors.bottomSheetBgColor, |  |  |  |     backgroundColor: AppColors.bottomSheetBgColor, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       useSafeArea: useSafeArea, |  |  |  |     useSafeArea: useSafeArea, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       builder: (BuildContext context) { |  |  |  |     builder: (BuildContext context) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         return SafeArea( |  |  |  |       return SafeArea( | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           top: false, |  |  |  |         top: false, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           left: false, |  |  |  |         left: false, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           right: false, |  |  |  |         right: false, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           child: isCloseButtonVisible |  |  |  |         child: Padding( | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               ? Container( |  |  |  |           padding: EdgeInsets.only( | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                   padding: EdgeInsets.only(left: 24, top: 24, right: 24, bottom: 12), |  |  |  |             bottom: MediaQuery.of(context).viewInsets.bottom, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                   decoration: RoundedRectangleBorder().toSmoothCornerDecoration(color: AppColors.bottomSheetBgColor, borderRadius: 24.h), |  |  |  |           ), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                   child: Column( |  |  |  |           child: SingleChildScrollView( | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                     mainAxisSize: MainAxisSize.min, |  |  |  |             physics: ClampingScrollPhysics(), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                     spacing: 16.h, |  |  |  |             child: isCloseButtonVisible | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 ? Container( | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               padding: EdgeInsets.only( | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 left: 24, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 top: 24, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 right: 24, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 bottom: 12, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               ), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               decoration: RoundedRectangleBorder().toSmoothCornerDecoration( | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 color: AppColors.bottomSheetBgColor, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 borderRadius: 24.h, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               ), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               child: Column( | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 mainAxisSize: MainAxisSize.min, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 children: [ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                   Row( | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     mainAxisAlignment: MainAxisAlignment.spaceBetween, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     crossAxisAlignment: CrossAxisAlignment.center, | 
			
		
	
		
		
			
				
					
					|  |  |  |                     children: [ |  |  |  |                     children: [ | 
			
		
	
		
		
			
				
					
					|  |  |  |                       Row( |  |  |  |                       titleWidget ?? | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                         mainAxisAlignment: MainAxisAlignment.spaceBetween, |  |  |  |                           Expanded( | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                         crossAxisAlignment: CrossAxisAlignment.center, |  |  |  |                             child: title.toText20(weight: FontWeight.w600), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                         children: [ |  |  |  |                           ), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                           titleWidget ?? Expanded(child: title.toText20(weight: FontWeight.w600)), |  |  |  |                       Utils.buildSvgWithAssets( | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                           Utils.buildSvgWithAssets(icon: AppAssets.close_bottom_sheet_icon, iconColor: Color(0xff2B353E)).onPress(() { |  |  |  |                         icon: AppAssets.close_bottom_sheet_icon, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                             Navigator.of(context).pop(); |  |  |  |                         iconColor: Color(0xff2B353E), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                           }), |  |  |  |                       ).onPress(() { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                         ], |  |  |  |                         Navigator.of(context).pop(); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                       ), |  |  |  |                       }), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                       child, |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                     ], |  |  |  |                     ], | 
			
		
	
		
		
			
				
					
					|  |  |  |                   )) |  |  |  |                   ), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               : child, |  |  |  |                   SizedBox(height: 16.h), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         ); |  |  |  |                   child, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       }).then((value) { |  |  |  |                 ], | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               ), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             ) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 : child, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           ), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         ), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       ); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   ).then((value) { | 
			
		
	
		
		
			
				
					
					|  |  |  |     callBackFunc(); |  |  |  |     callBackFunc(); | 
			
		
	
		
		
			
				
					
					|  |  |  |   }); |  |  |  |   }); | 
			
		
	
		
		
			
				
					
					|  |  |  | } |  |  |  | } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | // void showCommonBottomSheetWithoutHeight( | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //   BuildContext context, { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //   required Widget child, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //   required VoidCallback callBackFunc, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //   String title = "", | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //   bool isCloseButtonVisible = true, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //   bool isFullScreen = true, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //   bool isDismissible = true, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //   Widget? titleWidget, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //   bool useSafeArea = false, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | // | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | // }) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //   showModalBottomSheet<String>( | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //       sheetAnimationStyle: AnimationStyle( | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //         duration: Duration(milliseconds: 500), // Custom animation duration | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //         reverseDuration: Duration(milliseconds: 300), // Custom reverse animation duration | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //       ), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //       context: context, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //       isScrollControlled: true, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //       showDragHandle: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //       isDismissible: isDismissible, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //       backgroundColor: AppColors.bottomSheetBgColor, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //       useSafeArea: useSafeArea, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //       builder: (BuildContext context) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //         return SafeArea( | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //           top: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //           left: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //           right: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //           child: isCloseButtonVisible | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //               ? Container( | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //                   padding: EdgeInsets.only(left: 24, top: 24, right: 24, bottom: 12), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //                   decoration: RoundedRectangleBorder().toSmoothCornerDecoration(color: AppColors.bottomSheetBgColor, borderRadius: 24.h), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //                   child: Column( | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //                     mainAxisSize: MainAxisSize.min, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //                     spacing: 16.h, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //                     children: [ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //                       Row( | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //                         mainAxisAlignment: MainAxisAlignment.spaceBetween, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //                         crossAxisAlignment: CrossAxisAlignment.center, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //                         children: [ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //                           titleWidget ?? Expanded(child: title.toText20(weight: FontWeight.w600)), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //                           Utils.buildSvgWithAssets(icon: AppAssets.close_bottom_sheet_icon, iconColor: Color(0xff2B353E)).onPress(() { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //                             Navigator.of(context).pop(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //                           }), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //                         ], | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //                       ), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //                       child, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //                     ], | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //                   )) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //               : child, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //         ); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //       }).then((value) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //     callBackFunc(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //   }); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | // } | 
			
		
	
	
		
		
			
				
					|  |  | 
 |