Reland "Remove hack from PageView." (#142172)
Original PR: https://github.com/flutter/flutter/pull/141533 Failure: https://fusion2.corp.google.com/presubmit/601217743/OCL:601217743:BASE:601219708:1706132224874:9a4bcab3/targets Fix: [b/321743868](https://b.corp.google.com/321743868), http://cl/601219001 (added as g3 fix.
This commit is contained in:
committed by
GitHub
parent
a522b38e96
commit
47d8252a85
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user