prepare method
Records thumbnails for theme ahead of first paint, for every
definition not yet cached.
Implementation
void prepare(
Iterable<ShapeDefinition> definitions, {
DiagramTheme theme = DiagramTheme.light,
}) {
for (final definition in definitions) {
thumbnail(definition, theme: theme);
}
}