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 with custom curve looks weird in v4 #43

Open
FelixMittermeier opened this issue Feb 6, 2021 · 1 comment
Open

Animation with custom curve looks weird in v4 #43

FelixMittermeier opened this issue Feb 6, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@FelixMittermeier
Copy link

Hi, first of all thank you very much for this great library. It is really the best flutter navigation bar I found so far.
After upgrading to version 4 today it looks like there is a regression with the animation when a custom curve is used, unfortunately. It is not so easy describe - maybe you just look at it yourself. I used the following values on GNav:

GNav(mainAxisAlignment: MainAxisAlignment.spaceAround,
     curve: Curves.easeOutExpo,
     duration: const Duration(milliseconds: 600),
)

This looks very smooth on version 3. After upgrading to version 4 the animation with the exact same values looks a bit harsh.
By removing the curve parameter completely from the widget it looks a lot better. So it is working fine when no custom curve is specified.

This has not high priority of course - just wanted to let you know :-)

@sooxt98
Copy link
Owner

sooxt98 commented Feb 7, 2021

@FelixMittermeier This is why i bump up the version, not just curve, padding also breaks as well 😉 In this version there's at least 6 diff curves, still no idea how to merge it into one

@sooxt98 sooxt98 added the enhancement New feature or request label Jul 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants