StoryView constructor

const StoryView({
  1. Key? key,
  2. Meta<Widget>? meta,
  3. required Story story,
  4. List<Decorator> decorators = const [],
  5. ParamStorage? params,
})

Creates a new StoryView widget.

A widget that displays a story with a set of parameters.

This widget is used as the main entry point for rendering a story.

The story is displayed with the given params and decorators.

If no params are provided, the story's default values are used.

If no decorators are provided, the story's default decorators are used.

Implementation

const StoryView({
  super.key,
  this.meta,
  required this.story,
  this.decorators = const [],
  this.params,
});