FLUTTER ECOSYSTEM

sticky_headers

Flutter Sticky Headers - Lets you place headers on scrollable content that will stick to the top of the container whilst the content is scrolled.

sticky_headers cover
Latest version
0.3.0+2
30-day downloads
13K
Likes
902
Pub points
140

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

StickyHeaders is a Flutter package that enables headers to remain fixed at the top of a scrollable list as users scroll through content. It's ideal for creating grouped lists, such as contacts or calendar entries, where section headers should stay visible during scrolling. The package integrates seamlessly with ListView and other scrollable widgets, offering smooth performance and customizable header behavior. It supports all major platforms including Android, iOS, Web, macOS, Windows, and Linux.

Use cases
  • Grouped lists
  • Contact lists
  • Calendar views
  • Sectioned data displays
  • Scrollable content with persistent headers
Key features
  • Sticky headers on scroll
  • Customizable header styling
  • Smooth scrolling integration
  • Supports multiple scrollable widgets
  • Cross-platform compatibility
Suitable for
  • Developers building list-based apps
  • Apps with categorized data
  • UIs requiring persistent section headers
  • Flutter beginners learning scrollable layouts
  • Projects targeting multiple platforms
Considerations
  • May impact performance with large datasets
  • Requires careful handling of header heights
  • Limited built-in animations
  • Not optimized for highly dynamic content
  • Header positioning may need manual adjustment in complex layouts
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add sticky_headers

Categories

Source repository

Related projects