diff --git a/lib/ui/widgets/smart_widgets/bottom_sheets/confirm_bottom_sheet/confirm_bottom_sheet_view.dart b/lib/ui/widgets/smart_widgets/bottom_sheets/confirm_bottom_sheet/confirm_bottom_sheet_view.dart index d27859d..de1ddcf 100644 --- a/lib/ui/widgets/smart_widgets/bottom_sheets/confirm_bottom_sheet/confirm_bottom_sheet_view.dart +++ b/lib/ui/widgets/smart_widgets/bottom_sheets/confirm_bottom_sheet/confirm_bottom_sheet_view.dart @@ -50,14 +50,15 @@ class ConfirmBottomSheetView extends StatelessWidget { ), ), // ignore: deprecated_member_use - FlatButton( + ElevatedButton( onPressed: () => completer(SheetResponse(confirmed: true)), child: Text( request.mainButtonTitle!, style: TextStyle(color: Colors.white), ), - color: Theme.of(context).primaryColor, - ) + style: ElevatedButton.styleFrom( + foregroundColor: Theme.of(context).primaryColor + ), ], ) ],