Story constructor
const
Story({
- Key? key,
- required String name,
- required StoryBuilder builder,
- String section = '',
- Color? background,
- EdgeInsets padding = const EdgeInsets.all(16),
- StoryWrapperBuilder? wrapperBuilder,
Implementation
const Story({
Key? key,
required this.name,
required StoryBuilder builder,
this.section = '',
this.background,
this.padding = const EdgeInsets.all(16),
this.wrapperBuilder,
}) : _builder = builder,
super(key: key);