hidable 1.0.2 hidable: ^1.0.2 copied to clipboard
Widget, that can make any static located widget hidable (scroll to hide).
v1.0.1 - (10/11/2021) #
v1.0.0 - (09/11/2021) #
The very first version of the Hidable package! So that can add scroll-to-hide effect to any static located widget - AppBar, BottomNavigationBar, etc.
Overview
Scrollable widget
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),
),
Static located hidable widget
Hidable(
controller: scrollController,
wOpacity: true, // As default it's true.
size: 56, // As default it's 56.
child: BottomNavigationBar(...),
),