Skip to content
pubscout

extended_nested_scroll_view

6.2.1, released 3 years ago by fluttercandies.com

Extended nested scroll view to fix pinned header and inner scrollables sync issues.

WASM-ready
$ flutter pub add extended_nested_scroll_view
Source repository

What it does

Provides an extended NestedScrollView to fix common synchronization issues with pinned sliver headers and inner scrollables inside tab views. It also allows building nested scroll views without needing a ScrollController in the body.

AI-written summary of version 6.2.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to fix pinned sliver header synchronization issues in Flutter's NestedScrollView
  • You have inner scrollables inside a TabView and need proper scroll position syncing
  • You want to manage scroll views inside a NestedScrollView body without custom ScrollControllers

Skip it when

  • Standard Flutter NestedScrollView meets all your layout requirements without header or sync bugs

Strengths

  • Fixes known framework issues with pinned headers and inner scrollables
  • Provides ExtendedVisibilityDetector to track visible lists
  • Supports multiple platforms including Android, iOS, Web, Windows, macOS, and Linux

Weaknesses

  • Depends on overriding or extending core framework scrolling behavior which may require updates with new Flutter releases

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1
ExtendedNestedScrollView(
  pinnedHeaderSliverHeightBuilder: () {
    return pinnedHeaderHeight;
  },
  body: TabBarView(
    children: [
      ExtendedVisibilityDetector(
        uniqueKey: const Key('Tab1'),
        child: ListView(),
      ),
    ],
  ),
)

Alternatives

Packages that do the same job and could replace extended_nested_scroll_view.

Works with

Packages commonly used together with extended_nested_scroll_view: ones it builds on, ones built on it, and its own family.