Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Animation doesnt work on builded release apk #67

Open
nildomacena opened this issue Mar 22, 2019 · 6 comments
Open

Animation doesnt work on builded release apk #67

nildomacena opened this issue Mar 22, 2019 · 6 comments

Comments

@nildomacena
Copy link

nildomacena commented Mar 22, 2019

The animations works fine during debug, but when I run "flutter build apk", they does not work anymore. Pagination works, but not the animations.
EDIT: Animations only works with SwiperLayout.DEFAULT. STACK and TINDER only works during debug.

@Shakle
Copy link

Shakle commented Apr 13, 2019

Confirm

@prafgup
Copy link

prafgup commented Jun 9, 2019

Is this issue fixed?

@lavanoped
Copy link

This happened to me because of the value generated after init doesn't hold the value of swiper width immediately (due to lag I presume). Hence the function _getValue() doesn't work as it's intended (doesn't generate a dynamic value based on user scrolling/position).

Just for the record, I stripped my code of all the package dependencies for using the STACK layout.

@prafgup
Copy link

prafgup commented Jun 10, 2019

I just tried the same and Its working for me even in the release build.

The swiper is as follows:
Scaffold:Stack:Column:Padding:Swiper

And Swiper builds-ClipRect:Flex:Expanded,Expanded

Try this in the release apk , the animation works for me.

@Zoudafnan
Copy link

@prafgup can you share the code

@prafgup
Copy link

prafgup commented May 25, 2023

Hey @Zoudafnan I don't have the code handy as of now but would suggest you to please have a look the widget tree structure I suggested here - #67 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants