showcase library

Classes

Showcased
Annotation to automatically generate screenshots of widgets.

Functions

loadFonts() Future<void>
Load all fonts found in pubspec.yaml, and fetch Roboto font from local cache, or from the internet, if it's not found in the cache. It needs to be done because flutter_test blocks access to package assets (see https://github.com/flutter/flutter/issues/12999).
showcaseWidgets(List<Widget> widgets, { ContainerBuilder customContainerBuilder, Size size, String outDir }) → void
Use this function to generate screenshots of your widgets. See optional parameters for custom configurations.