constraints property

List<Constraint> constraints

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;
}
void constraints= (List<Constraint> constraints)

Implementation

set constraints(List<Constraint> constraints) {
  _constraints = constraints;
  if (_spriteBox != null) _spriteBox._constrainedNodes = null;
}