multi_image_picker_view
multi_image_picker_view copied to clipboard
An image_picker based widget which helps to pick multiple images in a GridView which can also be reorderable.
bool _isSelectionToggled = false; void toggleImageSelection(ImageFile imageFile) { if (!_isSelectionToggled) { setState(() { if (selectedImages.contains(imageFile)) { selectedImages.remove(imageFile); } else { selectedImages.add(imageFile); } _isSelectionToggled = true; }); } } caling from...
Text color in ErrorPreview is set to onSecondaryContainer but its backgroud is surfaceVariant: instead, it should be secondaryContainer otherwise it might end up being white on white or other invisible...
When building the preview of a non-image file, it's useful to show the file type, such as PDF or other, so that the picker can be used to select non-image...
Add a textfield over the image to let users add descriptions of uploaded images. The field is behing a flag that defaults to false for backwards compatibility. 
Use case: - an entity has a multiple pictures field - I want to attach pictures to that entity and save it to the backend - when I edit the...
When I run the example with Flutter 3.22 in **release** mode I can take/choose multiple images but only the last is shown. When I delete the last image the previous...
It would be great to have the possibility to pass a custom dict (kwarg) to picker-method. Then we could implement an imageSource-selection-logic in onPressed-method of an addMoreButton and pass the...
Hi, inside the io_preview.dart in line 31: ` Uri.tryParse(imageFile.path!)?.scheme.startsWith('http') == true ? Image.network( imageFile.path!, fit: fit, errorBuilder: errorBuilder ?? _defaultErrorBuilder, ) : Image.file( File(imageFile.path!), fit: fit, errorBuilder: errorBuilder ?? _defaultErrorBuilder,...