ms_undraw
4.1.1, released a year ago by marcussoftware.info
Flutter widget that displays Undraw SVG illustrations with caching support.
What it does
Provides a ready‑to‑use UnDraw widget to load and render SVG illustrations from the Undraw library. It includes optional memory and disk caching, placeholders, and error handling.
AI-written summary of version 4.1.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a large collection of ready‑made illustrations without managing assets yourself
- You want easy SVG rendering with built‑in caching in a Flutter app
Skip it when
- You require custom illustration sets not covered by Undraw
- You need fine‑grained control over SVG parsing beyond what the widget offers
Strengths
- Huge library of over 1500 illustrations
- Built‑in memory and disk caching to improve performance
- Simple API with placeholders and error widgets
Weaknesses
- Limited to Undraw illustrations only
- Relies on network fetch for assets unless cached
- No advanced SVG manipulation features
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 3
UnDraw(
color: Colors.red,
illustration: UnDrawIllustration.mobile_application,
placeholder: Text('Loading...'),
errorWidget: Icon(Icons.error_outline, color: Colors.red),
useMemCache: true,
saveToDiskCache: true,
);Works with
Packages commonly used together with ms_undraw: ones it builds on, ones built on it, and its own family.