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
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
paneSizeand 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
newSizewithin thepaneSizebounds. -
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
sizepixels in the specifieddirection.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited