WidgetbookUseCase class
UseCases represent a specific configuration of a widget and can be used to check edge cases of a Widget.
Constructors
- WidgetbookUseCase({required String name, required Widget builder(BuildContext)})
- WidgetbookUseCase.center({required String name, required Widget child})
-
factory
- WidgetbookUseCase.child({required String name, required Widget child})
-
factory
Properties
- builder → Widget Function(BuildContext)
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
no setter
- 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
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 -
The equality operator.
override