Storybook constructor
Storybook({})
Implementation
Storybook({
super.key,
required Iterable<Story> stories,
Iterable<Plugin>? plugins,
this.initialStory,
this.wrapperBuilder = materialWrapper,
this.showPanel = true,
Layout initialLayout = Layout.auto,
}) : plugins = UnmodifiableListView([
LayoutPlugin(initialLayout),
const ContentsPlugin(),
const KnobsPlugin(),
const LoggingPlugin(),
...plugins ?? _defaultPlugins,
]),
stories = UnmodifiableListView(stories);