Use case
ExtendedImage has strong gesture support for zoom, pan, double tap, page-view coordination, and slide-page dismissal, but the public image constructors are centered on ImageProvider/ui.Image content.
Some content should remain a Flutter widget tree instead of being rasterized first, for example:
- SVG diagrams rendered by
flutter_svg
- charts or custom painters wrapped in widgets
- video or mixed media that should share the same gesture behavior
Requested API
Expose a supported public API for arbitrary widget content to use the existing gesture machinery by supplying:
- the child widget
- its logical content size
BoxFit/alignment for the initial layout
- the existing
GestureConfig, double-tap, page-view, slide-page, and Hero hooks where applicable
A small widget such as ExtendedImageGestureWidget would make this ergonomic while preserving current ExtendedImage image-provider behavior.
Use case
ExtendedImagehas strong gesture support for zoom, pan, double tap, page-view coordination, and slide-page dismissal, but the public image constructors are centered onImageProvider/ui.Imagecontent.Some content should remain a Flutter widget tree instead of being rasterized first, for example:
flutter_svgRequested API
Expose a supported public API for arbitrary widget content to use the existing gesture machinery by supplying:
BoxFit/alignment for the initial layoutGestureConfig, double-tap, page-view, slide-page, and Hero hooks where applicableA small widget such as
ExtendedImageGestureWidgetwould make this ergonomic while preserving currentExtendedImageimage-provider behavior.