Comments (4)
You should try AutomaticKeepAliveClientMixin. A reference to know how it works: https://medium.com/manabie/flutter-simple-cheatsheet-4370a68f98b3
from card_swiper.
You should try AutomaticKeepAliveClientMixin. A reference to know how it works: https://medium.com/manabie/flutter-simple-cheatsheet-4370a68f98b3
Just tried this but it does not seem to work. Pages are being reinitialized every time.
Edit: My bad, it works when I use AutomaticKeepAliveClientMixin with the widgets inside the Swiper, not the outer page.
from card_swiper.
But if loop is true, AutomaticKeepAliveClientMixin will be not work. So how can i do ?
from card_swiper.
@whichname : Please open another issue with some sample code to replicate.
from card_swiper.
Related Issues (20)
- Autoplay doesn't stop on user interaction in stacked swiper HOT 1
- loop is not working HOT 1
- Cannot drag with mouse in flutter web HOT 2
- Execute the direction in which the controller.next() method moves HOT 2
- In SwiperLayout.STACK mode, card always shows even if it has only one card
- Nested Swipers
- How can I move to real index
- card_swiper not respecting widgets order of Swiper.children HOT 3
- Swiper: Initial index is not updated/used when updating item list via stream builder
- Can I remove fake cards? HOT 1
- This plugin cause other Image widget rebuild when route change HOT 1
- The new project runs abnormally in debug mode. HOT 1
- Wait for tens of seconds for the code to run abnormally. help!
- _swiperController.move(1, animation: false) 无效 HOT 1
- RectSwiperPaginationBuilder Settings are invalid.
- Keep Tinder layout but remove opacity
- Detect Human Scrolling
- Need for interpolation between cards HOT 1
- I found that it would automatically scroll several times the first time HOT 8
- Customization of backgrounds cards HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from card_swiper.