Skip to content

Support changing index externally#41

Open
nordwestt wants to merge 3 commits intoeric-taix:masterfrom
nordwestt:master
Open

Support changing index externally#41
nordwestt wants to merge 3 commits intoeric-taix:masterfrom
nordwestt:master

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