sliver_sticky_collapsable_panel 1.0.2 copy "sliver_sticky_collapsable_panel: ^1.0.2" to clipboard
sliver_sticky_collapsable_panel: ^1.0.2 copied to clipboard

A Sliver implementation of sticky collapsable header with a sliver as child.

sliver_sticky_collapsable_panel #

A Sliver implementation of panel with a sticky collapsable header and a sliver as child.

Snap Shot #

Features #

  • Accepts one sliver as content.
  • Header can overlap its sliver (useful for sticky side header for example).
  • Notifies when the header scrolls outside the viewport.
  • Can scroll in any direction.
  • Supports overlapping (AppBars for example).
  • Supports not sticky headers (with sticky: false parameter).
  • Supports a controller which notifies the scroll offset of the current sticky header.
  • Supports click the header to collapse the content.

Getting started #

In the pubspec.yaml of your flutter project, add the following dependency:

dependencies:
  ...
  sliver_sticky_collapsable_panel:

In your library add the following import:

import 'package:sliver_sticky_collapsable_panel/sliver_sticky_collapsable_panel.dart';

Thanks #

Thanks to letsar with it's flutter_sticky_header which provide solid foundation to implement the collapsable feature.

56
likes
0
pub points
71%
popularity

Publisher

unverified uploader

A Sliver implementation of sticky collapsable header with a sliver as child.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on sliver_sticky_collapsable_panel