Component<TWidget extends Widget, TArgs extends StoryArgs<TWidget>> constructor

Component<TWidget extends Widget, TArgs extends StoryArgs<TWidget>>({
  1. required Meta<TWidget> meta,
  2. required List<Story<TWidget, TArgs>> stories,
})

Implementation

Component({
  required this.meta,
  required this.stories,
}) : super(
        name: meta.name,
        useCases: stories,
      );