{"repo":"letsar/flutter_sticky_header","free":true,"listed":false,"github":"https://github.com/letsar/flutter_sticky_header","clone":"git clone https://github.com/letsar/flutter_sticky_header.git","description":"Flutter implementation of sticky headers for sliver","language":"Dart","stars":996,"topics":["flutter","dart","sticky-headers"],"license":"MIT","category":"mobile-apps","readme_excerpt":"flutter sticky header A Flutter implementation of sticky headers with a sliver as a child. 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. Getting started In the pubspec.yaml of your flutter project, add the following dependency: In your library add the following import: For help getting started with Flutter, view the online documentation. SliverStickyHeader You can place one or multiple SliverStickyHeader s inside a CustomScrollView . SliverStickyHeader.builder If you want to change the header layout during its scroll, you can use the SliverStickyHeader.builder constructor. The example belows changes the opacity of the header as it scrolls off the viewport. You can find more examples in the Example project. Sponsoring I'm working on my packages on my free-time, but I don't have as much time as I would. If this package or any other package I created is helping you, please consider to sponsor me. By doing so, I will prioritize your issues or your pull-requests before the others. Changelog Please see the Changelog page to know what's recently changed. Contributions Feel free to contribute to this project. If you find a bug or want a feature, bu","default_branch":null,"files":null,"tree":[],"storefront":"/r/letsar","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/letsar/flutter_sticky_header/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}