DockElement class

Dock element represents a dockable widget

Constructors

DockElement({required String id, required String name, DockSide preferredDockSide = DockSide.leftTop, required Widget widget, Widget? icon, bool visible = false})
default constructor.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
icon → Widget?
widget used to represent icon in toolbar.
final
id → String
unique identifier
final
name → String
element name.
final
preferredDockSide → DockSide
preferred dock side if available.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
visible → bool
initial visibility state.
final
widget → Widget
widget element.
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