widgetbook_annotation library

Classes

AddonConfig<T>
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.
BooleanKnobConfig
ColorKnobConfig
DateTimeKnobConfig
DoubleKnobConfig
DurationKnobConfig
IntKnobConfig
KnobConfig<T>
ListKnobConfig
LocalizationAddonConfig
AddonConfig for the LocalizationAddon.
MultiFieldKnobConfig
NullKnobConfig
SemanticsAddonConfig
AddonConfig for the SemanticsAddon.
StringKnobConfig
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.
KnobsConfigs = Map<String, Iterable<KnobConfig>>
A map between the name of the configuration and the list of knobs configuration. This allows to create a matrix of knobs configurations to test on Widgetbook Cloud while taking snapshots.