Remove hack from PageView. (#141138)

This commit is contained in:
Polina Cherkasova
2024-01-12 09:47:34 -08:00
committed by GitHub
parent 9186aeab7f
commit 2da87e6108
4 changed files with 134 additions and 41 deletions

View File

@@ -49,7 +49,7 @@ void main() {
// Verify that page view index is also updated with same index to page indicator.
final PageView pageView = tester.widget<PageView>(find.byType(PageView));
expect(pageView.controller.page, 1);
expect(pageView.controller!.page, 1);
// Tap backward button on page indicator area.
await tester.tap(find.byIcon(Icons.arrow_left_rounded));