storyBuilder function
Builder
storyBuilder(
- BuilderOptions options
Builder for the WidgetbookUseCase annotation. Creates a .story.widgetbook.json file for each .dart file containing a WidgetbookStory annotation
Implementation
Builder storyBuilder(BuilderOptions options) {
return JsonLibraryBuilder(
StoryResolver(),
generatedExtension: '.story.widgetbook.json',
formatOutput: _formatOutput,
);
}