shouldSkipNode method
- SemanticsData data
Returns whether node should be skipped.
Skip routes which might have labels, and nodes without any text.
Implementation
bool shouldSkipNode(SemanticsData data) =>
data.hasFlag(ui.SemanticsFlag.scopesRoute) ||
(data.label.trim().isEmpty && data.value.trim().isEmpty);