reason

重构首页

...@@ -172,6 +172,7 @@ class HomeState extends State<Home> with WidgetsBindingObserver { ...@@ -172,6 +172,7 @@ class HomeState extends State<Home> with WidgetsBindingObserver {
172 onRefresh: _onRefresh, 172 onRefresh: _onRefresh,
173 //设置listView 173 //设置listView
174 child: PageView( 174 child: PageView(
175 + onPageChanged: (p) {},
175 controller: _controller, 176 controller: _controller,
176 //设置滑动方向 177 //设置滑动方向
177 scrollDirection: Axis.vertical, 178 scrollDirection: Axis.vertical,
......
...@@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev ...@@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
15 # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. 15 # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
16 # Read more about iOS versioning at 16 # Read more about iOS versioning at
17 # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html 17 # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
18 -version: 1.0.0+3 18 +version: 1.0.0+4
19 19
20 environment: 20 environment:
21 sdk: ">=2.16.2 <3.0.0" 21 sdk: ">=2.16.2 <3.0.0"
......