skipTraversal property Null safety

bool skipTraversal

If true, tells the focus traversal policy to skip over this node for purposes of the traversal algorithm.

This may be used to place nodes in the focus tree that may be focused, but not traversed, allowing them to receive key events as part of the focus chain, but not be traversed to via focus traversal.

This is different from canRequestFocus because it only implies that the node can't be reached via traversal, not that it can't be focused. It may still be focused explicitly.


bool get skipTraversal => _skipTraversal;
void skipTraversal=(bool value)


set skipTraversal(bool value) {
  if (value != _skipTraversal) {
    _skipTraversal = value;