gt_image_viewer 1.2.0 copy "gt_image_viewer: ^1.2.0" to clipboard
gt_image_viewer: ^1.2.0 copied to clipboard

A universal Flutter image viewer package supporting network images with caching, SVG rendering, and Lottie animations with configurable containers.

Changelog #

All notable changes to this project will be documented in this file.

1.2.0 - 2026-06-19 #

Changed #

  • Flutter SDK Upgrade: Upgraded package environment and constraints to require Flutter >=3.44.2 and Dart >=3.12.0 <4.0.0 (matching Flutter 3.44.2 release).
  • iOS SPM Migration: Migrated the iOS integration of the example app from CocoaPods to the new native Swift Package Manager (SPM).
  • iOS Compatibility Bump: Upgraded iOS deployment target to 15.0 to ensure compatibility with Swift Package Manager and modern plugins.

1.1.0 - 2026-03-28 #

Changed #

  • Flutter/Dart SDK Upgrade: Upgraded to Flutter 3.41.0 and Dart 3.11.0.
  • Improved Image Scaling: Updated UniversalImageViewer, UniversalSvgViewer, and UniversalLottieViewer to explicitly pass dimensions to underlying rendering widgets. This fixes issues where images would not scale correctly when reducing size in constrained containers (e.g., AppBars, profile headers).

Fixed #

  • Image resizing bug where images did not respect width and height from ImageContainerConfig correctly in some layouts.

Added #

  • Explicit width and height properties passed to Image, CachedNetworkImage, SvgPicture, and Lottie widgets.

1.0.0 - 2025-12-27 #

[1.0.0] - 2025-12-27 #

Added #

  • UniversalImageViewer - Universal image widget
    • Asset image support
    • Network image with caching (cached_network_image)
    • Configurable fade animations
    • Custom HTTP headers support
    • Memory and disk cache control
  • UniversalSvgViewer - SVG image widget
    • Asset SVG support
    • Network SVG support
    • Color tinting via ColorFilter
  • UniversalLottieViewer - Lottie animation widget
    • Asset animation support
    • Network animation support
    • Animation controller access
    • Repeat and reverse options
  • ImageContainerConfig - Shared configuration
    • Width, height, fit, alignment
    • Circular image support
    • Border radius, border, box shadow
    • Padding, margin, clip behavior
  • CacheManagerHelper - Cache management utility
    • Singleton cache manager
    • Cache clearing methods
    • Individual file removal
0
likes
160
points
37
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A universal Flutter image viewer package supporting network images with caching, SVG rendering, and Lottie animations with configurable containers.

Repository (GitHub)
View/report issues

Topics

#images #svg #lottie #cache #widget

License

MIT (license)

Dependencies

cached_network_image, flutter, flutter_cache_manager, flutter_svg, lottie

More

Packages that depend on gt_image_viewer