WidgetbookInstance class
An instance for Widgetbook
- Inheritance
-
- Object
- BaseInstance
- Instance
- WidgetbookInstance
Constructors
-
WidgetbookInstance.new({required AppInfoInstance appInfoInstance, required WidgetbookConstructor constructor, required List<
WidgetbookCategoryInstance> categories, required List<ThemeInstance> themes, String? type, List<DeviceInstance> devices = const <DeviceInstance>[], List<FrameInstance> frames = const <FrameInstance>[], List<DoubleInstance> textScaleFactors = const <DoubleInstance>[], VariableInstance? locales, VariableInstance? localizationDelegates, VariableInstance? deviceFrameBuilder, VariableInstance? localizationBuilder, VariableInstance? appBuilder, VariableInstance? scaffoldBuilder, VariableInstance? useCaseBuilder, FunctionCallInstance? themeBuilder}) - Creates a new instance of WidgetbookInstance
Properties
-
genericParameters
→ List<
String> -
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name for the instance.
This is basically the class name of the instance.
finalinherited
- namedConstructor → String?
-
Identifier of named constructor
finalinherited
-
properties
→ List<
Property> -
The properties which are defined by the instance.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- trailingComma → bool
-
Specifies if a trailing comma should be inserted into the code.
This leads to better code formatting.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toCode(
) → String -
Transforms the BaseInstance or its implementation into Code (a String)
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited