flutter_media_viewer 0.8.0
flutter_media_viewer: ^0.8.0 copied to clipboard
Cached image and MP4/HLS video gallery with Hero transitions, Live Photos and compact playback controls.
Changelog #
0.8.0 #
- Breaking: Migrate Material widgets and public theme types to
material_ui. - Migrate the built-in Live Photo mode menu to
cupertino_ui, preserving mode selection and dismissal. - Update requirements to Flutter 3.50.1, Dart 3.14, Hugeicons 4.4, Better Player 1.39, and Better Player iOS 1.16.
- Update the example and remove a test-helper name collision with Flutter.
0.7.5 #
- Keep unresolved video loading backgrounds within the chrome-safe media viewport, with the configured rounded corners and border, instead of filling the screen.
- Preserve the resolved media geometry and explicit fullscreen transitions.
0.7.4 #
- Render the existing Better Player iOS decoder through Flutter textures so sheets and other Flutter overlays compose above live video.
- Keep video visible and playing beneath modal sheets, without recreating its controller or replacing it with a preview.
- Preserve app-background pausing and the custom viewer controls. Rebuild the iOS host after upgrading to register the texture plugin.
0.7.3 #
- Pause and unmount native video surfaces while another modal or route covers the viewer, keeping previews underneath the overlay.
- Restore the existing player and resume only videos that were playing before the overlay opened.
0.7.2 #
- Lay out video surfaces in logical pixels instead of scaling decoder-sized native views.
- Intercept iOS video touches so the gallery owns taps and custom overlays remain interactive.
- Disable video zoom and native fullscreen/PiP controls while preserving image zoom and custom playback controls.
0.7.1 #
- Keep taps on native video surfaces in the viewer so videos use the same fullscreen background, controls and layout transitions as images.
- Preserve custom playback controls and uninterrupted playback when toggling fullscreen.
0.7.0 #
- Replace Orvexa with Better Player for videos, Live Photo motion and paused thumbnails.
- Preserve compact custom controls, gallery gestures, source headers and playback lifecycle behavior.
- Require Flutter 3.47.0+, Android SDK 24+ with Java 21, iOS 15+, and dependencies compatible with Cupertino Icons 2.x and XML 7.x.
- Include Android and iOS example hosts while retaining the custom viewer interface.
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
WidgetBuilderwhile retaining package fallback icons. - Use a configurable
3 / 4default aspect ratio for reusable media previews. - Expand images and videos with
BoxFit.containand 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.