cloud_storage_gallery 0.1.2 copy "cloud_storage_gallery: ^0.1.2" to clipboard
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 AppBar actions. They're now FloatingActionButtons 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) and CloudBatchUploadDialog now 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 an itemLabel: (T) => String callback so the dialog can render each item's display name in the list. If you use this widget directly, add itemLabel: (item) => item.name (or any identifier your item type exposes).

Also:

  • CloudFolderScreen gained a new preparingUploadsTitle localization slot (EN / AR provided).
  • Sibling dep cloud_storage_platform_interface bumped to ^0.1.2.

0.1.1 #

  • file_picker bumped ^8^11. API change: use FilePicker.pickFiles(...) (static) instead of the removed FilePicker.platform.pickFiles(...). Package internals updated; consumers using the gallery widgets don't need changes.
  • share_plus bumped ^10^11. API change: switched to SharePlus.instance.share(ShareParams(files: ..., subject: ...)). The legacy Share.shareXFiles(...) was deprecated. Only affects the "open in external app" fallback flow.
  • mime bumped ^1^2.
  • chewie bumped ^1.8.5^1.13.0. Deliberately capped below 1.14 (which pulls in win32 ^6 via wakelock_plus 1.6+ and conflicts with share_plus <13 and file_picker <12).
  • path_provider ^2.1.6.
  • Sibling dep cloud_storage_platform_interface bumped 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 CloudGalleryLocalizations delegate — English and Arabic strings included; RTL layouts respected throughout.
  • Every widget derives its colors, text styles, and directionality from the ambient Theme / Directionality.