ActionLayoutRequest<T extends Object> class final

A validated snapshot of everything needed for one layout decision.

Construction validates cross-model rules before a placement delegate runs, so a delegate never returns a partial result for invalid input. Renderers create this request from measured capacity, opaque layout options, and supported interactions; no UI object is stored here.

Constructors

ActionLayoutRequest({required ActionCollection<T> actions, required ActionLayoutConstraints constraints, required RendererCapabilities capabilities, Iterable<ActionId> primaryOrderOverride = const [], Iterable<ActionId> overflowOrderOverride = const []})
Creates and validates one layout request.
factory

Properties

actions ActionCollection<T>
The validated action tree and its placement constraints.
final
capabilities RendererCapabilities
Interaction features available from the renderer.
final
constraints ActionLayoutConstraints
Available primary space and the renderer's layout costs.
final
hashCode int
The hash code for this object.
no setteroverride
overflowOrderOverride List<ActionId>
Requested overflow order for the later ordering stage.
final
primaryOrderOverride List<ActionId>
Requested primary order for the later ordering stage.
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