Story class

Constructors

Story({String? name, List<Decorator> decorators = const [], StoryBuilder builder = AutomaticBuilder, Map<String, dynamic> params = const {}, List<String> tags = const [], int order = 0})
const
Story.apply({required String? name, required List<Decorator> decorators, required int order, required StoryBuilder builder, required Map<String, dynamic> params, required List<String> tags})
const

Properties

builder → StoryBuilder
final
decorators → List<Decorator>
Decorators are a mechanism to wrap a component in arbitrary markup when rendering a story. Components are often created with assumptions about ‘where’ they render. Your styles might expect a theme or layout wrapper, or your UI might expect specific context or data providers.
final
hashCode → int
The hash code for this object.
no setterinherited
name → String?
final
order → int
final
params → Map<String, dynamic>
Pre-defined params.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tags → List<String>
final

Methods

applyGenerated({String? name, StoryBuilder? builder}) → Story
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited