curved_nav_bar 0.1.0
curved_nav_bar: ^0.1.0 copied to clipboard
Curved bottom navigation bar with a center action button for a middle tab, camera, dialog, or any other action.
0.1.0 #
- Require Dart 3.2 and Flutter 3.16 or newer.
- Add nullable
appBarandscaffoldBackgroundColoronCurvedNavBar. - Add
initialIndex(default0). Changing it switches the visible body. - Add
CurvedNavBarState.setPageto change the selected page from code. - Add
onTap, called with the selected index. - Add
textStyleonFABBottomAppBarItemandCurvedActionBarso label size and style can be set per item. - Add
itemTextStyleandcenterItemTextStylefor labels that do not set their own style. - Add
navBarHeightandresizeToAvoidBottomInset. - Leave out the center notch when
actionButtonis null, so any number of tabs is allowed in that case. - Fix the duplicate import and the deprecated
:default-value separator. - Export the public API from
package:curved_nav_bar/curved_nav_bar.dart. The previous import paths still work. - Make the configuration fields final. Colors with defaults are non-nullable.
0.0.2 #
- Initial release.