Plugin class

Implementers

Constructors

Plugin({required PluginId id, TransitionBuilder? wrapperBuilder, WidgetBuilder? panelBuilder, TransitionBuilder? storyBuilder, NullableWidgetBuilder? icon, OnPluginButtonPressed? onPressed})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
icon → NullableWidgetBuilder?
Optional icon that will be displayed on the bottom panel.
final
id → PluginId
Plugin identifier.
final
onPressed → OnPluginButtonPressed?
Optional callback that will be called when user clicks on the icon.
final
panelBuilder → WidgetBuilder?
Optional builder that will be used to display panel popup. It appears when user clicks on the icon.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
storyBuilder → TransitionBuilder?
Optional wrapper that will be inserted above each story.
final
wrapperBuilder → TransitionBuilder?
Optional wrapper that will be inserted above the whole storybook content, including panel.
final

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