From 5a0d4f547eee36e8f4be20ee1381ec5b4238fe42 Mon Sep 17 00:00:00 2001 From: joe Date: Sat, 7 Mar 2026 21:58:47 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A3=B2=E4=B8=8A=E5=85=A5=E5=8A=9B?= =?UTF-8?q?=E7=94=BB=E9=9D=A2=E3=81=AE=E4=BF=9D=E5=AD=98=E3=83=80=E3=82=A4?= =?UTF-8?q?=E3=82=A2=E3=83=AD=E3=82=B0=E5=AE=9F=E8=A3=85=E5=AE=8C=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/screens/sales_screen.dart | 37 ----------------------------------- 1 file changed, 37 deletions(-) diff --git a/lib/screens/sales_screen.dart b/lib/screens/sales_screen.dart index a2b6230..6c90720 100644 --- a/lib/screens/sales_screen.dart +++ b/lib/screens/sales_screen.dart @@ -96,40 +96,3 @@ class SalesScreen extends StatelessWidget { ); } - void _showSaveDialog(BuildContext context) { - showDialog( - context: context, - builder: (ctx) => AlertDialog( - title: const Text('売上確定'), - content: SingleChildScrollView( - child: Column( - mainAxisSize: MainAxisSize.min, - children: [ - Text('売上データを保存しますか?'), - ], - ), - ), - actions: [ - TextButton( - onPressed: () => Navigator.pop(ctx), - child: const Text('キャンセル'), - ), - ElevatedButton( - onPressed: () { - Navigator.pop(ctx); - ScaffoldMessenger.of(context).showSnackBar( - const SnackBar(content: Text('売上保存しました')), - ); - }, - style: ElevatedButton.styleFrom(backgroundColor: Colors.green), - child: const Text('確定'), - ), - ], - ), - ); - } - - void _showCustomerPicker(BuildContext context) { - // TODO: CustomerPickerModal を再利用して実装 - } -} \ No newline at end of file