ActionPlacementResult<T extends Object> class final

The mutually exclusive regions produced by ActionPlacementDelegate.

Every collection root appears exactly once across primary, overflow, and hidden. Children remain attached to their root and do not appear as independent entries.

This intermediate result supports custom ActionPlacementDelegate implementations. Normal renderers should consume ActionLayoutResult after region order overrides have been applied.

roots:       A  B  C  D
               resolve
                v
primary:    A     C
overflow:      B
hidden:             D

Constructors

ActionPlacementResult({Iterable<ResolvedPrimaryAction<T>> primary = const [], Iterable<AdaptiveAction<T>> overflow = const [], Iterable<HiddenAction<T>> hidden = const [], Iterable<ResolutionDiagnostic> diagnostics = const []})
Creates an immutable placement result from region entries.

Properties

diagnostics List<ResolutionDiagnostic>
Constraint and resolution diagnostics in stable order.
final
hashCode int
The hash code for this object.
no setteroverride
hidden List<HiddenAction<T>>
Roots intentionally unavailable in this layout.
final
overflow List<AdaptiveAction<T>>
Roots exposed through the renderer's overflow affordance.
final
primary List<ResolvedPrimaryAction<T>>
Roots rendered directly in the primary region.
final
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.
override

Operators

operator ==(Object other) bool
The equality operator.
override