NodeGroupExtent class

Per-node extent data within an OperationGroup.

Convention: startExtent corresponds to controller value = 0 (collapsed), targetExtent corresponds to controller value = 1 (expanded).

  • Fresh expand: startExtent = 0, targetExtent = full extent
  • Nodes joining mid-animation: startExtent = 0, targetExtent = captured extent

Constructors

NodeGroupExtent({required double startExtent, required double targetExtent, bool targetIsCaptured = false})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startExtent double
Extent when the controller value is 0 (collapsed state).
getter/setter pair
targetExtent double
Extent when the controller value is 1 (expanded state). A value of -1.0 means unknown (will be resolved from measured size).
getter/setter pair
targetIsCaptured bool
Whether targetExtent was set from a captured visual extent (true) versus a natural full reference (false). When true, setFullExtent resize updates do NOT overwrite targetExtent — the captured value is preserved as the maximum the animation will reach.
getter/setter pair

Methods

computeExtent(double curvedValue, double fullExtent) double
Computes the interpolated extent for the given curved value.
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