next library
Classes
- AccessibilityAddon
- AlignmentAddon
- AlignmentMode
-
Arg<
T> - BoolArg
- BuilderAddon
-
BuilderArg<
T> - ColorArg
-
Component<
TWidget extends Widget, TArgs extends StoryArgs< TWidget> > -
ConstArg<
T> - CupertinoThemeAddon
- CupertinoThemeMode
- DeviceFrameAddon
- DeviceFrameConfig
- DeviceFrameMode
- DoubleArg
- DurationArg
-
EnumArg<
T extends Enum> - ExperimentalBadge
- GridAddon
- InspectorAddon
- IntArg
-
LeafComponent<
TWidget extends Widget, TArgs extends StoryArgs< TWidget> > - LocaleAddon
- LocaleMode
- MaterialThemeAddon
- MaterialThemeMode
-
Meta<
T> -
MetaWithArgs<
TWidget, TArgs> - Same as Meta but for custom StoryArgs.
-
ModeAddon<
T> -
Scenario<
TWidget extends Widget, TArgs extends StoryArgs< TWidget> > -
SingleArg<
T> -
Story<
TWidget extends Widget, TArgs extends StoryArgs< TWidget> > -
StoryArgs<
T> - StringArg
- TextScaleAddon
- TextScaleMode
-
ThemeAddon<
T> -
ThemeMode<
T> - TimeDilationAddon
- TimeDilationMode
- ZoomAddon
- ZoomMode
Typedefs
-
Addon<
T> = WidgetbookAddon< T> -
ArgBuilder<
T> = T Function(BuildContext context) -
ArgsBuilder<
TWidget extends Widget, TArgs extends StoryArgs< TWidget> > = TWidget Function(BuildContext context, TArgs args) - ChildBuilder = Widget Function(BuildContext context, Widget child)
-
SetupBuilder<
TArgs> = Widget Function(BuildContext context, Widget story, TArgs args) -
ThemeBuilder<
T> = Widget Function(BuildContext context, T theme, Widget child)