AutoPlacementPacking enum
Packing strategies used by the auto-placement algorithm.
Constructors
- AutoPlacementPacking()
-
const
Values
- sparse → const AutoPlacementPacking
-
The placement algorithm only ever moves “forward” in the grid when placing items, never backtracking to fill holes. This ensures that all of the auto-placed items appear “in order”, even if this leaves holes that could have been filled by later items.
- dense → const AutoPlacementPacking
-
The auto-placement algorithm uses a “dense” packing algorithm, which attempts to fill in holes earlier in the grid if smaller items come up later. This may cause items to appear out-of-order, when doing so would fill in holes left by larger items.
Properties
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
Constants
-
values
→ const List<
AutoPlacementPacking> - A constant List of the values in this enum, in order of their declaration.