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

const Scenario<TWidget extends Widget, TArgs extends StoryArgs<TWidget>>({
  1. Key? key,
  2. required String name,
  3. List<Mode>? modes,
  4. TArgs? args,
  5. required Story<TWidget, TArgs> story,
})

Implementation

const Scenario({
  super.key,
  required this.name,
  this.modes,
  this.args,
  required this.story,
});