A new Flutter package for open source illustrations. These illustrations are designed by Katerina Limpitsouni and the application is developed by westdabestdb.
Getting Started #
Add this to your package's
... dependencies: undraw: ^1.0.2
Now in your Dart code, you can use:
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!'). )