大幅変更&環境バージョンアップ

This commit is contained in:
2024-08-22 14:35:09 +09:00
parent 56e9861c7a
commit dc58dc0584
446 changed files with 29645 additions and 8315 deletions

View File

@ -0,0 +1,35 @@
import 'package:flutter/material.dart';
import 'package:get/get.dart';
class CategoryChangeDialog extends StatelessWidget {
final String oldCategory;
final String newCategory;
const CategoryChangeDialog({
Key? key,
required this.oldCategory,
required this.newCategory,
}) : super(key: key);
@override
Widget build(BuildContext context) {
return AlertDialog(
title: Text('カテゴリ変更の警告'),
content: Text(
'チームの構成変更により、カテゴリが $oldCategory から $newCategory に変更されます。'
'このチームは既にエントリーしています。どのように処理しますか?'
),
actions: [
TextButton(
child: Text('新しいチームを作成'),
onPressed: () => Get.back(result: true),
),
TextButton(
child: Text('既存のエントリーを更新'),
onPressed: () => Get.back(result: false),
),
],
);
}
}