Skip to content

v1.0.0 - (09/11/2021)

Compare
Choose a tag to compare
@theiskaa theiskaa released this 09 Nov 18:19
· 39 commits to main since this release

Package Logo

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

Package Example 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(...),
),