Story<TWidget extends Widget, TArgs extends StoryArgs<TWidget> > constructor
Story<TWidget extends Widget, TArgs extends StoryArgs<TWidget> > ({
- required String name,
- String? designLink,
- SetupBuilder<
TArgs> setup = defaultSetup, - required TArgs args,
- required ArgsBuilder<
TWidget, TArgs> argsBuilder,
Implementation
Story({
required super.name,
super.designLink,
this.setup = defaultSetup,
required this.args,
required this.argsBuilder,
}) : super(
builder: (context) => const SizedBox.shrink(), // TODO: remove
);