From 97c386ad4296bd43c6772ea372d1ba64a6c65e6d Mon Sep 17 00:00:00 2001 From: Lucas Gabriel <90lucasgabriel@gmail.com> Date: Sun, 18 Apr 2021 16:26:54 -0300 Subject: [PATCH] 11 - Update: Gallery; --- lib/widgets/input.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/widgets/input.dart b/lib/widgets/input.dart index d2c9c32..7025805 100644 --- a/lib/widgets/input.dart +++ b/lib/widgets/input.dart @@ -36,7 +36,7 @@ class _InputState extends State { onPressed: () async { final ImagePicker _picker = ImagePicker(); final PickedFile response = - await _picker.getImage(source: ImageSource.camera); + await _picker.getImage(source: ImageSource.gallery); final File file = File(response.path); if (response == null) return;