widgetbook_annotation library

Classes

AddonConfig
A configuration entry for a WidgetbookAddon.
AlignmentAddonConfig
AddonConfig for the AlignmentAddon.
App
Annotates a code element to create the widgetbook main file in the same folder in which the annotated element is defined.
LocalizationAddonConfig
AddonConfig for the LocalizationAddon.
TextScaleAddonConfig
AddonConfig for the TextScaleAddon.
ThemeAddonConfig
AddonConfig for the ThemeAddon.
UseCase
Annotates a builder function which is used to create the WidgetbookComponent and UseCase for the Widgetbook
ZoomAddonConfig
AddonConfig for the ZoomAddon.

Typedefs

AddonsConfigs = Map<String, Iterable<AddonConfig>>
A map between the name of the configuration and the list of addon configurations. This allows to create a matrix of addon configurations to test on Widgetbook Cloud while taking snapshots.