media_picker_manager 0.1.5
media_picker_manager: ^0.1.5 copied to clipboard
A highly configurable Flutter media picker and manager for local and remote images, videos and files.
0.1.5 #
- Fixed duplicate single-image tiles when a picked local path is passed back as
initialImage; local paths now have stable identity and single pickers sync instead of merging. allowMultiple: falsenow hides the add button after one item without also requiringSuperMediaLimits(maxItems: 1).- Updated
file_pickerandcross_fileto their latest compatible patch releases. - Fixed localization to follow the application's active locale and text direction before falling back to the device locale.
- Documented full dialog title, source-label, and widget-icon customization.
0.1.3 #
- Added shared, empty-state, and non-empty-state width/height controls for the complete picker frame, every media tile, and every simple picker widget.
- Added bottom-sheet, icon-dialog, and direct Gallery/Camera/Files source presentation modes with replaceable widget icons and option builders.
- Added optional delete confirmation, awaited async endpoint deletion, picker lifecycle/error/retry hooks, custom validation, ordered-ID callbacks, and separate local/API item builders.
0.1.2 #
- Raised the documented and example iOS deployment target to 14.0 for
file_picker12.x compatibility.
0.1.1 #
- Removed the explicit pub.flutter-io.cn documentation URL so pub.flutter-io.cn uses its generated API reference without failing URL validation.
- Added developer-facing dartdoc across the public API.
- Updated all direct runtime dependencies to their latest stable releases,
including
file_picker12.1.0 and its new single/multiple selection API.
0.1.0 #
- Published package name finalized as
media_picker_manager, with the matching public import library and renamed example application. - Documented required iOS permissions, Android minimum SDK/network permission, automatic transitive dependencies, and optional macOS entitlements; the example now includes the same platform configuration.
- Added GitHub repository, issue tracker, documentation metadata, README badges, and GitHub-hosted demo GIF URLs.
- Initial release.
- Single and multiple image/video/file picking.
- Remote/API media support.
- Added/removed item tracking for edit forms.
- Per-type and total limits.
- File size display and validation.
- Image quality/resize options.
- Video processing transform hook.
- Upload progress state support.
- Custom item/add/empty builders.
- Independent image, video, and file multiple-selection settings.
- Configurable picker frame, item proportions, and container builder.
- Configurable labels and widget-based icons for all built-in controls.
- Automatic grid/list drag sorting with a customizable reorder handle.
- Zoomable full-screen image preview and full-screen video playback.
- Preserve example selections when cards scroll off-screen.
- Keep picker state alive in lazy scrolling containers by default.
- Video thumbnails from explicit image paths/URLs or automatic first frames.
- Automatic device-locale text, RTL layout, and custom translation maps.
- Optional factory name/type fields with path and URL inference.
- Extensionless remote URLs default to images with ID-based names.
- Delete-one-by-ID, delete-all, and removed remote ID helpers.
- Merge newly introduced initial API IDs during widget updates and hot reload.
- Fixed grid item heights, per-origin metadata visibility, and item frame builder.
- Per-item frame width, height, and alignment controls.
- Explicit RTL/LTR override and mirrored directional controls.
- Initial items accept media items, URL strings, API maps, and custom mappers.
- Singular
initialItemaccepts the same input forms asinitialItems. - Dynamic initial data now recognizes URI/File/XFile values, flexible API key
aliases, and custom models with
toJson(), while retaining mapper support. - Added separate one/multiple image, video, file, and mixed-media widgets with direct path callbacks for API uploads.
- Added typed
addedImagePaths,addedVideoPaths,addedFilePaths, andaddedMediaPathsresult helpers plus an action-levelonPickedcallback. - Rebuilt the example as a focused cookbook for every separate picker.
- Reorder sorting remains enabled, but its handle icon is now hidden by default.
- Initial-data widgets are now generic and expose typed mappers, allowing any
model type without
Objectcasts. - Single image, video, file, and media pickers now expose direct width, height, and alignment controls, use a full-width column, and align to start by default.
- Added
onDelete(id)andonDeleteAll(ids)endpoint callbacks for remote initial items; controller delete-all now returns the affected remote IDs. - Added direct image quality/dimension limits, video duration/size limits, file size limits, and multi-only item/total-size limits to the simple pickers.
- Added per-type
maxImagesandmaxVideoscontrols to the multiple-media picker and a playable remote video to the example lists. - Exposed
addButtonBuilderanditemBuilderon every simple picker so apps can completely replace the default upload frame and selected-media design.