DeviceFramePlugin class
Plugin that allows wrapping each story into a device frame.
Constructors
-
DeviceFramePlugin({bool enableCompactLayoutDeviceFrame = true, bool enableExpandedLayoutDeviceFrame = true, DeviceFrameData initialData = defaultDeviceFrameData, List<
DeviceInfo> ? deviceInfoList})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → NullableWidgetBuilder?
-
Optional icon that will be displayed on the bottom panel.
finalinherited
- id → PluginId
-
Plugin identifier.
finalinherited
- onPressed → OnPluginButtonPressed?
-
Optional callback that will be called when user clicks on the icon.
finalinherited
- panelBuilder → WidgetBuilder?
-
Optional builder that will be used to display panel popup. It appears when
user clicks on the icon.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- storyBuilder → TransitionBuilder?
-
Optional wrapper that will be inserted above each story.
finalinherited
- wrapperBuilder → TransitionBuilder?
-
Optional wrapper that will be inserted above the whole storybook content,
including panel.
finalinherited
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