Make PageView.controller nullable
Summary
#If a controller isn't provided in the constructor, the controller
member is null
. This makes PageView
and its controller
property consistent with other widgets.
Migration guide
#Before:
dart
pageView.controller.page
After:
dart
pageView.controller!.page
Timeline
#Landed in version: 3.19.0-12.0.pre
In stable release: Not yet
References
#Relevant issues: