Overview
A Sliver-based widget that implements a sticky, collapsible panel with dynamic header rebuilding based on scroll state. It features a customizable box header that updates as the panel expands or collapses, and accepts a sliver child for the panel content. Designed for efficient scrolling in complex lists, it integrates seamlessly into CustomScrollView layouts across multiple platforms.
Use cases
- Scrolling lists with interactive headers
- Dynamic header states during scroll
- Complex UIs requiring sticky panels
- Content sections that expand/collapse
- Customizable scroll-driven interactions
Key features
- Sticky panel behavior
- Header rebuild on scroll status
- Sliver-compatible layout
- Collapsible content section
- Platform-agnostic implementation
Suitable for
- Developers building scrollable interfaces
- Apps needing responsive headers
- CustomScrollView integrations
- Cross-platform mobile and web apps
- UIs with layered scrollable content
Considerations
- Requires integration within CustomScrollView
- Limited to sliver-based layouts
- Header logic may need custom tuning
- Performance depends on child complexity
- Not suitable for non-scrolling contexts
