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
- Area
- DockingArea
- DockingItem
- Mixed in types
Constructors
-
DockingItem({dynamic id, String? name, required Widget widget, dynamic value, bool closable = true, bool keepAlive = false, List<
TabButton> ? buttons, bool? maximizable, bool maximized = false, TabLeadingBuilder? leading, double? size, double? weight, double? minimalWeight, double? minimalSize}) - Builds a DockingItem.
Properties
- areaAcronym → String
-
no setteroverride
-
getter/setter pair
- closable ↔ bool
-
getter/setter pair
- disposed → bool
-
no setterinherited
-
globalKey
→ GlobalKey<
State< ?StatefulWidget> > -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasMinimal → bool
-
no setterinherited
- id → dynamic
-
finalinherited
- index → int
-
Gets the index of this area in the layout.
no setterinherited
- key → Key
-
no setterinherited
- layoutId → int
-
no setterinherited
- leading ↔ TabLeadingBuilder?
-
getter/setter pair
- level → int
-
Gets the level in the layout hierarchy.
no setterinherited
- maximizable → bool?
-
final
- maximized → bool
-
no setter
- minimalSize → double?
-
finalinherited
- minimalWeight → double?
-
finalinherited
- name ↔ String?
-
getter/setter pair
- 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
- size → double?
-
no setterinherited
- type → DockingAreaType
-
Gets the type of this area.
no setteroverride
- typeAcronym → String
-
Gets the acronym for type.
no setterinherited
- value ↔ dynamic
-
getter/setter pair
- weight → double?
-
no setterinherited
- widget ↔ Widget
-
getter/setter pair
Methods
-
hierarchy(
{bool indexInfo = false, bool levelInfo = false, bool hasParentInfo = false, bool nameInfo = false}) → String -
Converts layout's hierarchical structure to a debug 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
-
updateWeight(
double value) → void -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited