traverseVisible method

void traverseVisible(
  1. dynamic callback
)

Implementation

void traverseVisible(callback) {
  if (visible == false) return;

  callback(this);

  var children = this.children;

  for (var i = 0, l = children.length; i < l; i++) {
    children[i].traverseVisible(callback);
  }
}