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

v6.0.0 #187

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

v6.0.0 #187

wants to merge 52 commits into from

Conversation

jb3rndt
Copy link
Owner

@jb3rndt jb3rndt commented Oct 25, 2024

Version 6 includes new features and several fixes:

New Features

  • Scroll to Top: Added the ability to scroll to the top of the current tab with a double tap on the tab icon.
  • Animated Icons: Introduced support for animated icons in the navigation bar.
  • Change Number of Tabs at Runtime: Properly support dynamically hiding and showing tabs at runtime.

Breaking Changes

  • Use NavBarOverlap.none() as the default for navBarOverlap
  • Removed ItemConfig.opacity. Use the opacity of NavBarDecoration.color instead
  • Removed ItemConfig.filter. Use NavBarDecoration.filter instead
  • Removed default value of NavBarDecoration.filter to allow omitting the filter
  • Replaced popAllScreensOnTapAnyTabs with keepNavigatorHistory, which has an inverted meaning. To migrate, invert the boolean value for that parameter if you use it.
  • Combined popAllScreensOnTapOfSelectedTab and popActionScreens into the SelectedTabPressConfig.popAction.
    • Set popAction to PopActionType.all to pop all screens of the current tab if it is pressed again
    • Set popAction to PopActionType.single to pop a single screen of the current tab if it is pressed again
    • Set popAction to PopActionType.none to pop no screen of the current tab if it is pressed again
  • Replaced onSelectedTabPressWhenNoScreensPushed with SelectedTabPressConfig.onPressed. You need to check the passed argument whether there are any pages pushed to that tab.

jb3rndt added 29 commits March 24, 2024 13:22
Copy link

codecov bot commented Oct 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.35%. Comparing base (864f7ac) to head (67197c3).
Report is 11 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master     #187       +/-   ##
===========================================
+ Coverage   81.43%   97.35%   +15.91%     
===========================================
  Files          31       32        +1     
  Lines        1648     1623       -25     
===========================================
+ Hits         1342     1580      +238     
+ Misses        306       43      -263     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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