Semi Final 7th Aug 2024

This commit is contained in:
2024-08-07 14:24:05 +09:00
parent 66ade1fe09
commit 347861e5a1
23 changed files with 342 additions and 160 deletions

View File

@ -239,6 +239,7 @@ class CameraPage extends StatelessWidget {
style: ElevatedButton.styleFrom(
shape: const CircleBorder(),
padding: const EdgeInsets.all(20),
foregroundColor: Colors.white,
backgroundColor: destinationController.photos.isEmpty
? Colors.red
: Colors.grey[300],
@ -294,7 +295,10 @@ class CameraPage extends StatelessWidget {
? settingGoal.value == false
? ElevatedButton(
style:
ElevatedButton.styleFrom(backgroundColor: Colors.red),
ElevatedButton.styleFrom(
foregroundColor: Colors.white,
backgroundColor: Colors.red
),
onPressed: () async {
// print(
// "----- user isss ${indexController.currentUser[0]} -----");
@ -339,7 +343,7 @@ class CameraPage extends StatelessWidget {
isgoal: true);
} else {
//print("---- status ${value['status']} ---- ");
Get.snackbar("目標が追加されていません", "please_try_again",
Get.snackbar(value["detail"], "ERROR",
backgroundColor: Colors.green,
colorText: Colors.white
);
@ -455,6 +459,7 @@ class CameraPage extends StatelessWidget {
style: ElevatedButton.styleFrom(backgroundColor: Colors.red),
onPressed: () async {
// print(
// "##### current destination ${indexController.currentDestinationFeature[0].sub_loc_id} #######");
await destinationController.makeCheckin(
indexController.currentDestinationFeature[0],