PlutoResizeHelper class
Returns a class for changing the width of a column, etc.
Cannot be called with PlutoResizeMode.none or PlutoResizeMode.normal .
Change the width of the item corresponding to isMainItem by offset
.
Negative or positive.
items are all siblings that will be affected when the size of the item corresponding to isMainItem is changed.
isMainItem
is a callback
that should return whether or not the item
is subject to resizing.
getItemSize
is a callback
that should return the size of item
.
getItemMinSize
is a callback
that should return the minimum width of item
.
setItemSize
is a callback
that should change the size of item
to size
.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Static Methods
-
items<
T> ({required double offset, required List< T> items, required bool isMainItem(T item), required double getItemSize(T item), required double getItemMinSize(T item), required void setItemSize(T item, double size), required PlutoResizeMode mode}) → PlutoResize