hasPrimaryFocus property
bool
get
hasPrimaryFocus
Whether this node has primary focus, meaning it is focused and none of its children are.
Implementation
bool get hasPrimaryFocus => isFocused && children.every((c) => !c.isFocused);