constraints property
A List of Constraints that will be applied to the node. The constraints are applied after the update method has been called.
Implementation
List<Constraint> get constraints {
return _constraints;
}
Implementation
set constraints(List<Constraint> constraints) {
_constraints = constraints;
if (_spriteBox != null) _spriteBox._constrainedNodes = null;
}