diff --git a/covas_mobile/lib/pages/Camera.dart b/covas_mobile/lib/pages/Camera.dart index 9ff6cc3..1187d8f 100644 --- a/covas_mobile/lib/pages/Camera.dart +++ b/covas_mobile/lib/pages/Camera.dart @@ -63,8 +63,6 @@ class CameraState extends State { _initializeControllerFuture = _controller.initialize(); } - Future getCamera() async {} - Future pickImage() async { final imagePicker = ImagePicker(); final pickedFile = await imagePicker.pickImage(source: ImageSource.gallery); diff --git a/covas_mobile/lib/pages/EditEvent.dart b/covas_mobile/lib/pages/EditEvent.dart index 1f38d90..38b4447 100644 --- a/covas_mobile/lib/pages/EditEvent.dart +++ b/covas_mobile/lib/pages/EditEvent.dart @@ -449,6 +449,23 @@ class _EditEventState extends State ); }, )), + Padding( + padding: EdgeInsets.symmetric(horizontal: 15), + child: ElevatedButton.icon( + onPressed: () { + // Define your action here + print("Edit Image button pressed"); + }, + icon: Icon(Icons.edit, size: 16), // Edit icon + label: Text("Edit Image"), // Button text + style: ElevatedButton.styleFrom( + backgroundColor: Colors.blue, // Button color + foregroundColor: Colors.white, // Text color + padding: + EdgeInsets.symmetric(horizontal: 10, vertical: 5), + ), + ), + ), Padding( //padding: const EdgeInsets.only(left:15.0,right: 15.0,top:0,bottom: 0), padding: EdgeInsets.symmetric(horizontal: 15),