Commit graph

41 commits

Author SHA1 Message Date
Freek van de Ven
7458b06fc0 Fix permission handling in image picker
Add permission handling for image picker to prevent crashes when permission is denied.

* **Android Manifest**: Add permissions for reading and writing external storage.
* **Permission Service**: Create a new service to handle permission requests using the `permission_handler` package.
* **Image Picker UI**: Modify the image picker to check and request permissions before accessing media. Show a popup if permission is denied.
* **Example App**: Update the example app to include permission handling and show a dialog if permission is denied.
* **Dependencies**: Add `permission_handler` dependency in `pubspec.yaml`.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/Iconica-Development/flutter_image_picker?shareId=XXXX-XXXX-XXXX-XXXX).
2024-12-12 21:27:21 +01:00
mike doornenbal
a6f50c54d8 feat: add support for handling errors 2024-09-05 10:33:26 +02:00
mike doornenbal
004f0067a4 feat: add default styling and title 2024-08-08 10:42:33 +02:00
mike doornenbal
b3aa961e92 fix: removed customButton 2024-02-28 12:00:33 +01:00
Jacques
c7114d56ca bugfix: SImplify ImagePickerTheme 2024-02-22 16:23:09 +01:00
mike doornenbal
9e3eaff8c2 merged add figma link in this branch 2024-02-07 10:35:26 +01:00
mike doornenbal
455fc691a2 fix: add ci and linter 2024-02-07 09:51:48 +01:00
Joons Stuijvenberg, van
27a8217b86 feat: make camera option optional 2023-04-03 14:45:54 +02:00
Stein Milder
cc1c54027a Merge remote-tracking branch 'origin/master' into feature/config-for-setting-size-and-quality 2022-11-07 14:47:04 +01:00
Stein Milder
44b0c92ea6 feat: ImagePickerConfig for setting image size and quality 2022-11-07 14:41:13 +01:00
437bf79385 Add BSD-3-Clause license 2022-11-01 08:24:41 +01:00
Freek van de Ven
ae2cc33479 feat: added ImagePickerService interface 2022-10-21 16:21:06 +02:00
Stein Milder
9402136b5d fix: stateful or stateless widget as customButton 2022-09-30 09:27:02 +02:00
Jacques Doeleman
5bfc0ed7e5 Icons can be changed with a Widget
Previously only done with IconData
2022-09-26 12:00:55 +02:00
TimIconica
913e531854 more size 2022-09-08 14:51:07 +02:00
TimIconica
473b32a7bd added more customization options 2022-09-08 14:23:46 +02:00
commitimpush
c0b129d912 new image picker customization options 2022-09-06 14:22:28 +02:00
commitimpush
70b08bf425 saved changes 2022-09-05 12:04:31 +02:00
commitimpush
577df41b1a renames 2022-09-05 11:57:48 +02:00
commitimpush
becbdb2093 Image picker widget now scrollable if necessary 2022-09-05 11:41:32 +02:00
commitimpush
c8a245b278 renames 2022-09-05 11:13:07 +02:00
commitimpush
65d4cdd150 Added more documentation 2022-09-05 09:54:42 +02:00
commitimpush
1ec1861ba2 Solved the flutter analyze errors 2022-09-05 09:21:35 +02:00
commitimpush
1ae89ef3cb finished tests 2022-09-02 16:48:45 +02:00
commitimpush
ca429c48f8 added widget tests 2022-09-02 16:14:24 +02:00
commitimpush
9ec7bd78ce Documentation updates 2022-09-01 17:00:59 +02:00
commitimpush
a05ede7793 lots of refactors 2022-09-01 16:44:53 +02:00
commitimpush
4a2161084d seperated the UI from the functional code 2022-09-01 15:06:47 +02:00
commitimpush
cc6af7fafe something 2022-09-01 14:35:38 +02:00
commitimpush
cee3bd2293 added documentation in the code 2022-09-01 10:22:32 +02:00
commitimpush
817854fac2 more documentation in the read me 2022-08-31 17:03:20 +02:00
commitimpush
a569e91520 more code improvements and added some documentation in the readme 2022-08-31 16:54:45 +02:00
commitimpush
fe9ca37185 more parameters and improvements to the modal 2022-08-31 14:42:17 +02:00
commitimpush
1f2af6b0b2 added optional parameters 2022-08-31 13:49:25 +02:00
commitimpush
560d8c3e2e code improvements 2022-08-31 12:31:54 +02:00
commitimpush
7650150cc6 improved the modal 2022-08-31 11:52:29 +02:00
commitimpush
80f959b5df Replaced the alert dialog with modal bottom sheet
also replaced the buttons with icons
2022-08-31 11:45:12 +02:00
commitimpush
87706a49ba Code improvements and removed calculator 2022-08-31 10:19:57 +02:00
commitimpush
c4073074c4 Made first version of image picker 2022-08-31 10:09:36 +02:00
commitimpush
25096779d2 Added more folders 2022-08-29 15:10:34 +02:00
commitimpush
c7403aacf1 Initial Commit 2022-08-29 14:52:48 +02:00