Anchao Lu

Results 18 comments of Anchao Lu

每个页面单独封装,继承 StatefullWidget,然后每个页面所属类再去 with AutomaticKeepAliveClientMixin,实现对应的逻辑

> 这些该加的我都加了,但是看到每次切换页面还是重新初始化: > […](#) > ------------------ 原始邮件 ------------------ 发件人: "best-flutter/flutter_swiper"

> ![图片](https://user-images.githubusercontent.com/16234264/95540876-78fed880-0a24-11eb-921b-9b6fb4124c80.png) > ![图片](https://user-images.githubusercontent.com/16234264/95540895-84ea9a80-0a24-11eb-8b94-23658d2f98ae.png) > ![图片](https://user-images.githubusercontent.com/16234264/95540914-95027a00-0a24-11eb-9717-6b7d233937c5.png) > ![图片](https://user-images.githubusercontent.com/16234264/95540935-a3e92c80-0a24-11eb-9f9c-13ed829aa140.png) > ![图片](https://user-images.githubusercontent.com/16234264/95540963-b2374880-0a24-11eb-9200-d04fe8b20f79.png) > ![图片](https://user-images.githubusercontent.com/16234264/95540986-bebba100-0a24-11eb-8dc3-26f339461c00.png) > > 该加的我都加了,但是每次切换页面广告页面都会重新初始化。 图片看不见呀

> pubspec.yaml文件需要全部升级下,包括以下几个 怎么升级 environment: sdk: ">=2.7.0

> pubspec.yaml文件需要全部升级下,包括以下几个 > environment > dependencies > dev_dependencies > @raoxudong @Lanch92 @javenfang @lethe555 @huangminlinux dependencies 的话就只有 jpush_flutter 出现这个错误

我只是将 intl 的版本改为 ^0.17.0 然后 pub get 就报错。但是去掉 jpush_flutter 的版本限制后,能够 pub get 成功,但是 jpush_flutter 版本变成了 0.0.3。这是什么逻辑

> **Describe the bug** > 've wrapped the PhotoViewGallery inside an GestureDetector. If i longPress on a random position on the screen, the onLongPress event of the upper GestureDetector never...

> > **Describe the bug** > > Wrapped the PhotoViewGallery inside an GestureDetector. If i longPress on a random position on the screen, the onLongPress event of the upper GestureDetector...

我看 demo 用的是这个 renderingTypeExternal,差别是什么

same issue fijkplayer 0.11.0 Device: iPhone11 OS: iOS17.03