Re-land 'Default Keyboard ScrollActions with PrimaryScrollController' (#70893)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user