Merge pull request #273 from lsuhov/integration_test__package_support
Change scroll code to make it working also for AnimatedList
This commit is contained in:
commit
7c8be5f60e
|
@ -251,7 +251,7 @@ class WidgetTesterAppDriverAdapter
|
|||
find.byType(Scrollable),
|
||||
matchRoot: true,
|
||||
);
|
||||
final state = nativeDriver.state(scrollableFinder) as ScrollableState;
|
||||
final state = nativeDriver.firstState(scrollableFinder) as ScrollableState;
|
||||
final position = state.position;
|
||||
position.jumpTo(dy ?? dx ?? 0);
|
||||
|
||||
|
|
Loading…
Reference in New Issue