ConstraintChainAnalyzer class

Walks the render tree upward from a RenderObject and captures the constraint chain.

Constructors

ConstraintChainAnalyzer()

Properties

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

Static Methods

analyze(RenderObject target, {int maxDepth = 20}) List<ConstraintChainLink>
Analyze the constraint chain from target up to the root (or up to maxDepth ancestors).
explain(List<ConstraintChainLink> chain) String
Generate a human-readable explanation of the constraint chain.
findTightCulprit(List<ConstraintChainLink> chain) ConstraintChainLink?
Find the first ancestor in the chain that imposes tight constraints.