Revert "Remove hack from PageView." (#141977)

Reverts flutter/flutter#141533

 b/321743868
This commit is contained in:
Jesús S Guerrero
2024-01-22 12:14:44 -08:00
committed by GitHub
parent b037eeb5c8
commit a3cd05c6d3
4 changed files with 41 additions and 134 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));