Skip to content
pubscout

nested_scroll_view_plus

3.1.0, released 6 months ago by xbox.work

An enhanced NestedScrollView providing overscroll support for parent and nested scroll views.

WASM-ready
$ flutter pub add nested_scroll_view_plus
Source repository

What it does

NestedScrollViewPlus is an enhanced version of Flutter's NestedScrollView. It adds overscroll support for both the nested and parent scroll views, creating a more seamless scrolling experience.

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

Use it when

  • You need overscroll support for both parent and nested scroll views.
  • You want a drop-in replacement for NestedScrollView to fix scrolling conflicts.

Skip it when

  • You are using a standard SingleChildScrollView or ListView without nesting.
  • You do not require custom overscroll mechanics.

Strengths

  • Supports overscroll on both nested and parent scroll views.
  • Easy replacement for standard NestedScrollView widgets.
  • Supports loading indicators like CupertinoSliverRefreshControl.

Weaknesses

  • Requires manual configuration of inner CustomScrollView physics.
  • May require tracking older Flutter versions via a separate repository if not using recent Flutter.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0

Simply add the dependency to pubspec.yaml and replace NestedScrollView with NestedScrollViewPlus.

NestedScrollViewPlus(
  headerSliverBuilder: (context, innerScrolled) => <Widget>[
    // insert header sliver widgets here
  ],
  body: CustomScrollView(
    physics: const BouncingScrollPhysics(
      parent: AlwaysScrollableScrollPhysics(),
    ),
    slivers: <Widget>[
      // insert body sliver widgets here
    ],
  ),
);

Alternatives

Packages that do the same job and could replace nested_scroll_view_plus.

Works with

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