ms_undraw 4.0.0
ms_undraw: ^4.0.0 copied to clipboard
Updated UnDraw library. These illustrations are designed by Katerina Limpitsouni.
undraw/UnDraw #
UnDraw is a Flutter widget that provides 1429+ illustrations, designed by Katerina Limpitsouni forked from westdabestdb
Disclaimer #
The reason of this library is that initial library is outdated, and a lot of new illustrations has been released.
Usage #
UnDraw(
color: Colors.red,
illustration: UnDrawIllustration.mobile_application,
placeholder: Text("Illustration is loading..."), //optional, default is the CircularProgressIndicator().
errorWidget: Icon(Icons.error_outline, color: Colors.red, size: 50), //optional, default is the Text('Could not load illustration!').
useMemCache: true, // Use a memory cache to store the SVG files. Default is true.
saveToDiskCache: true, // Save the SVG files to the disk cache. Default is true.
)