UiContourAccessoryGeometry class

Resolved geometry for one instant of an accessory-release transition.

barRect and accessoryRect are two independent rects — there is no shared outer bounds. Both are pure linear interpolations between fixed endpoints derived from the same progress, so each is monotonic on its own and forward/reverse paths are identical by construction (see doc/contour.md).

Annotations

Constructors

UiContourAccessoryGeometry({required Rect barRect, required Rect accessoryRect, required double accessoryVisibility, required double barContentVisibility, required bool accessoryInteractive})
const

Properties

accessoryInteractive bool
final
accessoryRect Rect
The accessory's current rect, growing from UiContourAccessoryGeometryInput.sourceRect to its full size at the bar's trailing edge.
final
accessoryVisibility double
0..1 emergence fraction — legibility-assist opacity for the accessory, not the primary spatial signal.
final
barContentVisibility double
0..1 fade for the bar's own receding trailing content (icons that lose their space) — independent of accessoryVisibility so the bar's content handoff can be tuned separately from the accessory's reveal.
final
barRect Rect
The bar's current rect. Recedes (shrinks) by exactly the width the accessory claims, anchored at its leading edge, so the two surfaces never overlap once separated.
final
hashCode int
The hash code for this object.
no setterinherited
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.
inherited

Operators

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