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

feat: animate size of nav bar icons, Spotify style #1670

Merged
merged 1 commit into from
Jan 21, 2024

Conversation

matthiasn
Copy link
Owner

This PR adds a micro interaction as a small size animation of the bottom navigation bar items, where on select, the icon and label group shrinks, pauses, and grows back to original size, over the course of 160ms. This behavior is inspired by the Spotify app on iOS. Code comes from forking Flutter's own BottomNavigationBar. Could be cleaned up, as not everything is used here.

@matthiasn matthiasn merged commit 257a29f into main Jan 21, 2024
4 checks passed
@matthiasn matthiasn deleted the feat/tab_bar_animation branch January 21, 2024 21:22
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.

1 participant