Re-land 'Default Keyboard ScrollActions with PrimaryScrollController' (#70893)

This commit is contained in:
Kate Lovett
2020-11-19 19:48:04 -06:00
committed by GitHub
parent a76289bb1b
commit f4a0511e8b
14 changed files with 262 additions and 142 deletions

View File

@@ -50,7 +50,7 @@ Future<void> main() async {
print('flutter_test allElements benchmark... (${WidgetsBinding.instance.renderViewElement})');
// Make sure we get enough elements to process for consistent benchmark runs
int elementCount = collectAllElementsFrom(WidgetsBinding.instance.renderViewElement, skipOffstage: false).length;
while (elementCount < 2482) {
while (elementCount < 2458) {
await Future<void>.delayed(Duration.zero);
elementCount = collectAllElementsFrom(WidgetsBinding.instance.renderViewElement, skipOffstage: false).length;
}