scroll_bottom_navigation_bar
4.0.0, released 5 years ago by an unverified publisher
Hides or shows a bottom navigation bar while scrolling.
What it does
Allows developers to attach a ScrollController to automatically show or hide a bottom navigation bar when scrolling up or down. Supports additional features like snap behavior, pinning, FAB, and snackbars.
AI-written summary of version 4.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to maximize screen estate by hiding the bottom navigation bar during scrolling.
- You need snap behavior or pin/unpin controls for a bottom navigation bar.
Skip it when
- You do not need scroll-aware bottom navigation hiding.
- Your application architecture relies entirely on platform primitives that handle this natively without custom scroll controllers.
Strengths
- Supports snap behavior, pin/unpin states, FABs, and snackbars.
- Simple integration via extensions on ScrollController.
Weaknesses
- Limited to bottom navigation bars tied to a custom ScrollController extension.
- Few recent updates documented beyond the null-safety release in v4.0.0.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
final controller = ScrollController();
Scaffold(
body: ListView.builder(
controller: controller,
itemBuilder: ...,
),
bottomNavigationBar: ScrollBottomNavigationBar(
controller: controller,
items: ...,
),
);Alternatives
Packages that do the same job and could replace scroll_bottom_navigation_bar.
- rolling_bottom_bar
Dynamic bottom navigation bar with an animated ball indicator
72Compare - dot_curved_bottom_nav
An animated bottom navigation bar with a top edge that curves around a dot.
69Compare - awesome_bottom_bar
A customizable bottom navigation bar with various animated styles.
50Compare - syncfusion_flutter_datepicker
A Flutter widget for selecting single dates, multiple dates, or date ranges with various calendar views.
91Compare