ResizablePaneController mixin

Mixin for controllers that manage resizable pane sizing.

Provides methods to resize, collapse, and expand panels programmatically. Implementations include AbsoluteResizablePaneController for fixed sizes and FlexibleResizablePaneController for flexible/proportional sizes.

Implemented types
Mixin applications

Properties

collapsed → bool
Whether the panel is currently collapsed.
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → double
The current value of the object.
no setterinherited

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object notifies its listeners.
inherited
collapse() → void
Collapses the panel to its minimum size.
computeSize(double paneSize, {double? minSize, double? maxSize}) → double
Computes the actual size based on paneSize and optional constraints.
expand() → void
Expands the panel to its maximum or default size.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that the object notifies.
inherited
resize(double newSize, double paneSize) → void
Resizes the controller to the given newSize within the paneSize bounds.
toString() → String
A string representation of this object.
inherited
tryCollapse([PanelSibling direction = PanelSibling.both]) → bool
Attempts to collapse the panel in the specified direction.
tryExpand([PanelSibling direction = PanelSibling.both]) → bool
Attempts to expand the panel in the specified direction.
tryExpandSize(double size, [PanelSibling direction = PanelSibling.both]) → bool
Attempts to expand by size pixels in the specified direction.

Operators

operator ==(Object other) → bool
The equality operator.
inherited