a11y traversal: sort locally; use new sorting algorithm (#16253)

New a11y traversal:

- sort direct sibling SemanticsNodes only
- use new sorting algorithm
- implement RTL
- test semantics in traversal order by default
- add AppBar traversal test
- breaking: remove nextNodeId/previousNodeId from the framework
- breaking: remove DebugSemanticsDumpOrder.geometricOrder
This commit is contained in:
Yegor
2018-04-23 14:23:49 -07:00
committed by GitHub
parent d3d4976f63
commit d354096299
41 changed files with 1411 additions and 834 deletions

View File

@@ -130,7 +130,7 @@ class StockHomeState extends State<StockHome> {
debugDumpApp();
debugDumpRenderTree();
debugDumpLayerTree();
debugDumpSemanticsTree(DebugSemanticsDumpOrder.geometricOrder);
debugDumpSemanticsTree(DebugSemanticsDumpOrder.traversalOrder);
} catch (e, stack) {
debugPrint('Exception while dumping app:\n$e\n$stack');
}