Semantic hit test order for Slivers (#11792)
* Semantic hit test order for Slivers * ++ * fix double space * refactoring * fix test * comment fix * tests * remove accidental debugDumpSemanticsTree * review comments * fix button
This commit is contained in:
committed by
GitHub
parent
10e65a16f8
commit
8ecf19d8a0
@@ -3,7 +3,7 @@
|
||||
// found in the LICENSE file.
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/rendering.dart' show debugDumpRenderTree, debugDumpLayerTree, debugDumpSemanticsTree;
|
||||
import 'package:flutter/rendering.dart' show debugDumpRenderTree, debugDumpLayerTree, debugDumpSemanticsTree, DebugSemanticsDumpOrder;
|
||||
import 'package:flutter/scheduler.dart' show timeDilation;
|
||||
import 'stock_data.dart';
|
||||
import 'stock_list.dart';
|
||||
@@ -130,7 +130,7 @@ class StockHomeState extends State<StockHome> {
|
||||
debugDumpApp();
|
||||
debugDumpRenderTree();
|
||||
debugDumpLayerTree();
|
||||
debugDumpSemanticsTree();
|
||||
debugDumpSemanticsTree(DebugSemanticsDumpOrder.traversal);
|
||||
} catch (e, stack) {
|
||||
debugPrint('Exception while dumping app:\n$e\n$stack');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user