Img upload (#858)

* Refactor existing code for image upload

* re-encode cropped image to jpg

* Fix UX

* prevent crop from blocking UI

* change default action
This commit is contained in:
Oliver
2026-07-14 15:59:37 +10:00
committed by GitHub
parent 0fe2bdd507
commit 73b8de565a
7 changed files with 210 additions and 69 deletions
+1
View File
@@ -31,6 +31,7 @@ dependencies:
flutter_speed_dial: ^6.2.0 # Speed dial / FAB implementation
flutter_tabler_icons: ^1.43.0 # Tabler icons
http: ^1.4.0
image: ^4.5.4 # Re-encode/compress images before upload
image_picker: ^1.2.2 # Select or take photos
infinite_scroll_pagination: ^4.0.0 # Let the server do all the work!
intl: ^0.20.2