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

Support changing index externally #41

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

nordwestt
Copy link

@nordwestt nordwestt commented Jul 23, 2022

Updates to the variable passed as the index of the nav bar will cause the nav bar to update position, just like in the default flutter bottomnavigationbar. Tested and working in own project.

All changes

Variables changed:

  • defaultIndex

Functions changed:

  • FluidNavBar constructor
  • _handleTap

Functions added:

  • _animateIndexChange
  • didUpdateWidget

2400757n added 3 commits July 23, 2022 15:39
This reverts commit e925655.
Messed up the insertion of new code, making it near impossible to view my actual changes.
Messe
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

Successfully merging this pull request may close these issues.

2 participants