Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

package logo


pub version


license: mit

installing

see the official installing guidline from hidable/install

usage & overview

package example overview

to start using hidable widget, we have to create a scrollcontroller. inctance before.

final scrollcontroller scrollcontroller = scrollcontroller();

as case of usage, we should have one scrollable widget (singlechildscrollview, listview etc)
and one static located widget (appbar, bottomnavbar etc) which’d be wrapped with hidable widget.

so, scrollcontroller which we created before must be given to each one (scrollable widget and static located hidable widget).

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

that is the common usage of hidable, and also you can find full code implmenetation of hidable at official example page.


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

Comments are closed.