WidgetbookCategory class

Categories help to organize WidgetElements and Stories into different areas.

Inheritance

Constructors

WidgetbookCategory({required String name, List<WidgetbookFolder>? folders, List<WidgetbookComponent>? widgets, bool isExpanded = true})

Properties

folders List<WidgetbookFolder>
The folders of one level in the folder tree. Folders will be shown above widgets.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
isExpanded bool
Used to implement collapsing and expanding of the folder tree.
getter/setter pairinherited
name String
Used to display the name of the Folder or WidgetElement
finalinherited
parent Organizer?
The Organizer hosting this element.
getter/setter pairinherited
path String
Used for navigation and matching hot reloaded elements with existing
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
widgets List<WidgetbookComponent>
The widgets of one level in the folder tree. Widgets will be shown below folders;
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
Abstract class for organizer panel in the left.
inherited