cloud_storage_gallery 0.1.2
cloud_storage_gallery: ^0.1.2 copied to clipboard
Drop-in Flutter widgets for browsing folders, viewing media, uploading with progress, and thumbnail generation on top of cloud_storage.
0.1.2 #
Selection & progress polish.
- Selection-mode UI moved to the FAB slot. Bulk Move-To and Bulk
Delete used to live as
AppBaractions. They're nowFloatingActionButtons in the same position the browse-mode FABs occupied, so the user's thumb doesn't have to jump to the top of the screen after a long-press. - Per-item progress in bulk operations. Both
CloudBulkProgressDialog(deletes / moves) andCloudBatchUploadDialognow render a scrollable list of items under the total progress bar. Each row shows its own state icon (pending / running / done / failed). Upload rows also show byte-level progress bars while a file is streaming. - Two-phase upload flow. After the file picker closes, a "Preparing files" dialog now shows per-file progress during thumbnail generation. On large batches this used to be a silent multi-second gap before the upload dialog appeared. Uploads only start after all thumbnails are ready, so a cancel during the prep phase is a clean cancel.
- BREAKING (
CloudBulkProgressDialog): the constructor now requires anitemLabel: (T) => Stringcallback so the dialog can render each item's display name in the list. If you use this widget directly, additemLabel: (item) => item.name(or any identifier your item type exposes).
Also:
CloudFolderScreengained a newpreparingUploadsTitlelocalization slot (EN / AR provided).- Sibling dep
cloud_storage_platform_interfacebumped to^0.1.2.
0.1.1 #
file_pickerbumped^8→^11. API change: useFilePicker.pickFiles(...)(static) instead of the removedFilePicker.platform.pickFiles(...). Package internals updated; consumers using the gallery widgets don't need changes.share_plusbumped^10→^11. API change: switched toSharePlus.instance.share(ShareParams(files: ..., subject: ...)). The legacyShare.shareXFiles(...)was deprecated. Only affects the "open in external app" fallback flow.mimebumped^1→^2.chewiebumped^1.8.5→^1.13.0. Deliberately capped below 1.14 (which pulls inwin32 ^6viawakelock_plus 1.6+and conflicts withshare_plus <13andfile_picker <12).path_provider^2.1.6.- Sibling dep
cloud_storage_platform_interfacebumped to^0.1.1. - Removed unnecessary library-name declaration.
0.1.0 #
Initial release. Ready-made Flutter widgets on top of cloud_storage.
Widgets:
CloudFolderScreen— drop-in file-manager screen. Breadcrumb app bar, thumbnail grid, long-press context menu, four floating action buttons (Select / Create folder / Add link / Upload file), full-featured action dialogs.CloudMediaViewer— headless swipeable photo/video viewer. Videos stream from the network on first play and cache locally for instant replay.CloudFolderGrid— reactive grid tile view of a folder.CloudFolderBreadcrumb— self-loading or externally-supplied breadcrumb.CloudUploadDialog,CloudBatchUploadDialog,CloudBulkProgressDialog— modal progress dialogs.pickCloudFolder(...)— modal folder picker.generateThumbnails(File)— helper that produces 256 px thumb + 1024 px preview JPEGs from images and videos.
Features:
- Selection mode with bulk delete / move.
- Custom thumbnail support for files and links (including videos when the auto-generated one isn't good enough).
- External-app open flow for non-media files (PDFs, docs, ...) with fallback to the OS share sheet.
- URL links open in an external browser via
url_launcher. - Read-only mode hides all write-oriented UI.
- Localization via
CloudGalleryLocalizationsdelegate — English and Arabic strings included; RTL layouts respected throughout. - Every widget derives its colors, text styles, and directionality
from the ambient
Theme/Directionality.