PlutoResize<T> class
abstract
This is the implementation that must be inherited when implementing the class according to PlutoResizeMode.
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
.
- Implementers
Constructors
Properties
- getItemMinSize → double Function(T item)
-
final
- getItemSize → double Function(T item)
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFirstMain → bool
-
no setter
- isLastMain → bool
-
no setter
- isMainItem → bool Function(T item)
-
final
-
items
→ List<
T> -
final
- offset → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- setItemSize → void Function(T item, double size)
-
final
Methods
-
getFirstItemNegative(
) → T? -
getFirstItemPositive(
) → T? -
getFirstWideItemNegative(
) → T? -
getFirstWideItemPositive(
) → T? -
iterateWideItemNegative(
) → Iterable< T> -
iterateWideItemPositive(
) → Iterable< T> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
) → bool
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited