ActionLayoutOption class final
A renderer-owned way to draw an action in the primary region.
The id associates a resolver decision with renderer code, while cost participates in capacity calculations. Core assigns no visual meaning to either value.
Constructors
- ActionLayoutOption({required ActionLayoutOptionId id, required double cost})
-
Creates a layout option with an opaque
idand non-negativecost.
Properties
- cost → double
-
Space consumed in the renderer-defined capacity unit.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → ActionLayoutOptionId
-
The key a renderer uses to find the matching widget builder.
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