- Ensure compatibility with Flutter 3.22
- Update dependencies
- Fix hero animation problem when useHeroAnimation is set to false
- Update dependencies
- Improve code style
- Update dependencies
- Use pdfx instead of package:native_pdf_view package
- Ensure compatibility with Flutter 3.0
- Use builder function instead of prebuild fallback widgets
MediaProviders
can now be converted for easier consumption
- Restructured package
- Use
chewie_audio
instead offlutter_sound_lite
package for better iOS support - Use
CupertinoContextMenu
on iOS and MacOS when there are context menu items registered on aPreviewMediaWidget
- Use
fallbackBuilder
instead offallbackWidget
for better performance in thePreviewMediaWidget
andInteractiveMediaWidget
- Removed
WidgetRegistry
as the fallback builders are a better way to control fallback generation
- Support null-safefty
- Use open source native_pdf_view package instead of commercial package
- Improved video controls
- A
MediaProvider
can now also have a description that can be useful when sharing the media to other apps. - The hero animation now works also for text media.
- Specify context menu items for
MediaPreviewWidget
s by specifying thecontextMenuEntries
andonContextMenuSelected
parameters.
- Opinionated but extensible collection of preview and interactive media widgets.
- Supports image, audio, PDF and text media for interactive experiences.
- Supports image and text for preview experiences.