StoryContent.copyWithEmpty constructor
StoryContent.copyWithEmpty({
- String? title,
- EdgeInsets? padding,
- StoryLink? link,
- StoryTypography? typography,
- StoryAnimation? animation,
- StorySpacing? spacing,
Implementation
StoryContent.copyWithEmpty({
String? title,
EdgeInsets? padding,
StoryLink? link,
StoryTypography? typography,
StoryAnimation? animation,
StorySpacing? spacing,
}) {
this.title = title ?? 'Text';
this.padding = padding ?? const EdgeInsets.all(0);
this.link = link ?? StoryLink.createEmpty;
this.animation = animation ?? StoryAnimation.createEmpty;
this.spacing = spacing ?? StorySpacing.createEmpty;
this.typography = typography ?? StoryTypography.createEmpty;
}