UseCase class

Annotates a builder function which is used to create the WidgetbookComponent and UseCase for the Widgetbook

Constructors

UseCase({required String name, required Type type, required String fileType, String? designLink, String? path})
Creates a new annotation with name and type.
const

Properties

A link to the design for the component or use-case.
final
fileType String
final
hashCode int
The hash code for this object.
no setterinherited
name String
The name of the UseCase.
final
path String?
A custom path for the use-case.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type Type
The type of the Widget shown in the UseCase. It is used to generate the WidgetbookComponent of the Widgetbook.
final

Methods

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