hidable
1.0.6, released 3 years ago by theiskaa.com
A widget that makes any static located widget hidable on scroll.
What it does
Provides a Hidable widget that bridges a scroll controller with widgets like AppBars or BottomNavigationBars to hide or show them automatically as the user scrolls. Supports optional opacity animation, custom delta factors, and custom visibility algorithms.
AI-written summary of version 1.0.6, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to hide a BottomNavigationBar or AppBar when the user scrolls down
- You want to maximize screen space for scrollable content on demand
Skip it when
- You are not using a scroll controller that can be shared between the scrollable and the hidable widget
Strengths
- Easy to integrate with existing ScrollControllers
- Supports customizable hiding/appearing speed and opacity animations
Weaknesses
- Requires sharing the same ScrollController between the scrollable view and the hidable widget
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
final ScrollController scrollController = ScrollController();
Hidable(
controller: scrollController,
enableOpacityAnimation: true,
child: BottomNavigationBar(...),
)Alternatives
Packages that do the same job and could replace hidable.
- dot_curved_bottom_nav
An animated bottom navigation bar with a top edge that curves around a dot.
69Compare - marquee_widget
A Flutter widget that scrolls text and other widgets with RTL support.
47Compare - auto_hide_keyboard
Automatically hides the soft keyboard when tapping outside text fields or scrolling.
47Compare - snapping_page_scroll
A PageView that snaps to the nearest page or scrolls multiple pages based on scroll velocity.
47Compare