UseCase constructor
const
UseCase({})
Creates a new annotation with name
and type
.
The name
defines how the UseCase will show in the navigation
area of the widgetbook.
The type
defines the Widget rendered with the UseCase. Therefore, it is
used to create the WidgetElement of the Widgetbook
Implementation
const UseCase({
required this.name,
required this.type,
required this.fileType,
this.designLink,
this.path,
});