traversalDescendants property

Iterable<FocusNode> traversalDescendants

Returns all descendants which do not have the skipTraversal and do have the canRequestFocus flag set.

Implementation

Iterable<FocusNode> get traversalDescendants {
  if (!descendantsAreFocusable) {
    return const Iterable<FocusNode>.empty();
  }
  return descendants.where((FocusNode node) => !node.skipTraversal && node.canRequestFocus);
}