animateToPage and _animatePreviousPage not working
See original GitHub issue_animatePreviousPage()
animateToPage(0)
above two methods are not working properly when isLooped = {false}
if I set this to isLooped = {true}
then it’s works fine.
But I need isLooped = {false}
and also need that method also. How can I solve my problem?
Issue Analytics
- State:
- Created 5 years ago
- Comments:15 (6 by maintainers)
Top Results From Across the Web
PageView.animateToPage not working for elasticInOut ...
I think this happens with any curve that initially produces a negative value (like Curves.elasticInOut). I can't pinpoint the exact line (I ...
Read more >[Android] PageView animateTo and nextPage do not work ...
On Linux and Web: The 1st page wont scroll using FAB. This only happens on using the PageController.animateTo() and nextPage() method, jump() ...
Read more >animateToPage method - PageController class
API docs for the animateToPage method from the PageController class, for the Dart programming ... The duration and curve arguments must not be...
Read more >jumpToPage , nextPage , previousPage , animateToPage ...
jumpToPage , nextPage , previousPage , animateToPage PageController Flutter.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Great! Thanks for creating an issue!
Hey 👋 You can try out this example: https://snack.expo.io/@phil/carousel-animate-to-page-example
The key parts are:
ref={ref => (this.carousel = ref)}
in Carousel propsonAnimate={i => this.carousel.animateToPage(i)}
in Page props