Skip to main content

flutter_media_viewer 0.6.1 copy "flutter_media_viewer: ^0.6.1" to clipboard
flutter_media_viewer: ^0.6.1 copied to clipboard

PlatformiOS

Cached image and MP4/HLS video gallery with Hero transitions, Live Photos and compact playback controls.

Changelog #

0.6.1 #

  • Support host applications using either Cupertino Icons 1.x or 2.x.
  • Update Orvexa Player to support applications using XML 6.x or 7.x.

0.6.0 #

  • Use Orvexa Player for built-in videos, Live Photo motion and paused first-frame thumbnails.
  • Preserve the viewer's compact playback/progress/mute controls, icon builders, tooltips and gallery fullscreen behavior.
  • Keep source headers, cached-file preference, automatic aspect ratios, looping, visibility/lifecycle pausing and player disposal.
  • Support remote MP4/HLS in the browser backend and keep Flutter controls reachable above HTML video.
  • Include the icon font used by the Live Photo mode picker.
  • Require Flutter 3.38.1+; native playback uses the Orvexa/media_kit platform requirements.

0.5.0 #

  • Request mobile immersive fullscreen when controls are hidden and restore system bars when controls return, the viewer is covered, or dismissal starts. Add configurable system UI restoration and an opt-out for host-managed chrome.
  • Show centered image loading progress, using received bytes when available, without discarding local placeholders or flashing loaders for cached frames.
  • Load a muted first video frame when no poster is provided, reduce the compact play badge, and release fallback players when the thumbnail strip is hidden.

0.4.2 #

  • Maintenance release with no functional changes from 0.4.1.

0.4.1 #

  • Add Live, Loop, and Off playback modes with a customizable mode picker and a Cupertino action sheet fallback.
  • Play Live motion once on opening the viewer, independently of video autoplay, and replay from the badge in previews without consuming message long presses.
  • Resolve motion sources lazily per item, reuse players, and stop preview motion when its route is covered. Keep still images visible during loading and errors.
  • Hide viewer controls while zoomed and restore their previous visibility when returning to the original scale.

0.4.0 #

  • Add Live Photo items with separate still and motion sources, compact preview badges, a LIVE/still selector, and hold-to-play motion without video controls.
  • Enable pinch and animated double-tap zoom for images, Live Photos, and videos.
  • Add a configurable upper-right menu callback and loading widget builder.
  • Keep the thumbnail strip clear of the displayed media and omit oversized playback badges from its compact items.
  • Reuse initialized players across equivalent URL-resolver rebuilds, prefer downloaded video files, and pause playback outside the foreground.

0.3.2 #

  • Keep grouped bottom action buttons visually unified with their container.
  • Keep viewer and reusable preview documentation aligned with the current public API before release.

0.3.1 #

  • Show available video durations in the lower-left corner of media thumbnails.
  • Refine app bar clipping and technical metadata spacing.

0.3.0 #

  • Start built-in videos muted by default while keeping the behavior configurable.
  • Allow every built-in action and video control icon to be replaced with a WidgetBuilder while retaining package fallback icons.
  • Use a configurable 3 / 4 default aspect ratio for reusable media previews.
  • Expand images and videos with BoxFit.contain and no constrained frame when viewer controls are hidden.
  • Align format and media badges at the end of the technical metadata header.
  • Separate exposure values with vertical dividers and improve metadata surface contrast across color schemes.

0.2.0 #

  • Inherit the active application color scheme throughout viewer controls and metadata surfaces.
  • Add global and per-viewer theming with optional light, dark, or system mode overrides.
  • Keep local image and thumbnail placeholders visible while remote replacements load, then transition with a short fade.
  • Preserve media and controls background parameters as optional theme overrides.

0.1.0 #

  • Add full-screen image and video galleries with Hero transitions.
  • Add cached network and file-system image previews.
  • Add video playback with play, pause, seek, mute, autoplay, and looping options.
  • Add swipe-to-dismiss, pinch-to-zoom, paging, and animated metadata details.
  • Add compact thumbnail navigation that keeps the active item centered.
  • Add configurable header, share, delete, details, and custom actions.
  • Add structured technical and location metadata presentation.
  • Add responsive media sizing, safe-area handling, and constrained-media borders.
  • Add custom content, thumbnail, URL resolver, and location preview builders.
2
likes
150
points
484
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Cached image and MP4/HLS video gallery with Hero transitions, Live Photos and compact playback controls.

Repository (GitHub)
View/report issues

Topics

#gallery #media #photos #videos #viewer

License

MIT (license)

Dependencies

cached_network_image_ce, cupertino_icons, flutter, hugeicons, orvexa_player, pointer_interceptor

More

Packages that depend on flutter_media_viewer