- Resolved #26
- Added
deltaFactor
field which controls the speed of hiding/appearing speed of hidable. - Added
visibility
field which makes it able for user to provide custom scrolling algorithm instead of using default.
Huge thanks for feature request to @radibobovich
- Resolved #21
- Deprecate the [wOpacity] property and add new [enableOpacityAnimation] instead.
- Migrated to Flutter 3.10 and Dart 3
- Resolved #17
- Resolved #10
- Resolved #6
The very first version of the Hidable package! So that can add scroll-to-hide effect to any static located widget - AppBar, BottomNavigationBar, etc.
ListView.separated(
// General scroll controller which makes bridge between
// This ListView and Hidable widget.
controller: scrollController,
itemCount: colors.length,
itemBuilder: (_, i) => Container(
height: 50,
color: colors[i].withOpacity(.6),
),
separatorBuilder: (_, __) => const SizedBox(height: 10),
),
Hidable(
controller: scrollController,
wOpacity: true, // As default it's true.
size: 56, // As default it's 56.
child: BottomNavigationBar(...),
),