progressive_image
2.0.1, released 4 years ago by an unverified publisher
A Flutter widget that progressively loads larger images using low-quality image placeholders.
WASM-ready
What it does
Provides a ProgressiveImage widget that displays a placeholder and thumbnail image with a blur effect and smooth fade-in animations before the full-resolution target image loads.
AI-written summary of version 2.0.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to progressively load large images with a smooth fade-in and blur effect.
- You want to display a low-quality thumbnail or placeholder for a better user experience on slow networks.
Skip it when
- You need robust offline caching capabilities provided by other image packages.
- You do not use low-quality image placeholders.
Strengths
- Supports smooth fade-in animations to prevent image popping.
- Applies a blur effect to low-resolution thumbnails to avoid pixelation.
- Allows custom placeholder widgets via the ProgressiveImage.custom() constructor.
Weaknesses
- Limited feature set compared to comprehensive caching image libraries.
- Not documented for advanced disk caching or image manipulation.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
not documented
ProgressiveImage(
placeholder: AssetImage('assets/placeholder.jpg'),
thumbnail: NetworkImage('https://i.imgur.com/7XL923M.jpg'),
image: NetworkImage('https://i.imgur.com/xVS07vQ.jpg'),
height: 300,
width: 500,
)Alternatives
Packages that do the same job and could replace progressive_image.
- cached_network_image
Provides advanced caching, placeholder support, and error handling for network images.
91Compare - octo_image
Offers flexible builders for loading, caching, and error states of images.
94Compare