TrinaAutoSizeScale<T> class
Change the size of items according to the ratio.
- Inheritance
-
- Object
- TrinaAutoSize<
T> - TrinaAutoSizeScale
Constructors
Properties
- getItemMinSize → double Function(T)
-
A callback that returns the minimum size of an item.
finalinherited
- getItemSize → double Function(T)
-
A callback that returns the original size of the item.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSuppressedItem → bool Function(T)
-
A callback to override the auto size setting.
finalinherited
-
items
→ Iterable<
T> -
List of items to set size for.
finalinherited
- maxSize → double
-
Total size the item will occupy.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- setItemSize → void Function(T, double)
-
Callback for setting the size of the item.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
) → void -
Call the setItemSize callback while traversing the items list.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited