DockingItem class
Represents an area for a single widget.
The keepAlive
parameter keeps the state during the layout change.
The default value is FALSE
. This feature implies using GlobalKeys and
keeping the widget in memory even if its tab is not selected.
- Inheritance
-
- Object
- DockingArea
- DockingItem
- Mixed in types
Constructors
-
DockingItem({String? name, required Widget widget, dynamic value, bool closable = true, bool keepAlive = false, List<
TabButton> ? buttons}) - Builds a DockingItem.
- DockingItem.clone(DockingItem item)
-
factory
Properties
-
final
- closable → bool
-
final
- disposed → bool
-
no setterinherited
-
globalKey
→ GlobalKey<
State< ?StatefulWidget> > -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
Gets the index of this area in the layout.
no setterinherited
- layoutId → int
-
no setterinherited
- level → int
-
Gets the level in the layout hierarchy.
no setterinherited
- name → String?
-
final
- parent → DockingParentArea?
-
Gets the parent of this area or
NULL
if it is the root.no setterinherited - path → String
-
Gets the path in the layout hierarchy.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → DockingAreaType
-
Gets the type of this area.
no setteroverride
- typeAcronym → String
-
Gets the acronym for type.
no setterinherited
- value → dynamic
-
final
- widget → Widget
-
final
Methods
-
hierarchy(
{bool indexInfo = false, bool levelInfo = false, bool hasParentInfo = false, bool nameInfo = false}) → String -
override
-
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