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

LeafComponent<TWidget extends Widget, TArgs extends StoryArgs<TWidget>>({
  1. required Meta<TWidget> meta,
  2. required Story<TWidget, TArgs> story,
})

Implementation

LeafComponent({
  required this.meta,
  required this.story,
}) : super(
        name: meta.name,
        useCase: story,
      );