elva_scroll_view 0.0.7 copy "elva_scroll_view: ^0.0.7" to clipboard
elva_scroll_view: ^0.0.7 copied to clipboard

A Flutter package for nested scrolling with coordinated scrolling and inertial scrolling transfer capabilities.

Elva Scroll View #

A Flutter package for nested scrolling with coordinated scrolling and inertial scrolling transfer capabilities.

Features #

  • Nested Scrolling: Support for multi-level nested scroll views with smooth coordination
  • Inertial Scrolling Transfer: Inertial scrolling animations can be transferred across multiple scroll components
  • Shell Mode: Prevent scroll offset from propagating upward for independent scroll areas
  • Builder Pattern: Easy integration into existing code
  • Custom Notifications: Rich scroll event notifications

Installation #

dependencies:
  elva_scroll_view: ^0.0.4

Quick Start #

Basic Usage #

Wrap your CustomScrollView with ElvaScrollViewBuilder:

ElvaScrollViewBuilder(
  builder: (context, controller) {
    return CustomScrollView(
      controller: controller,
      slivers: [
        SliverAppBar(...),
        SliverList(...),
      ],
    );
  }
)

Shell Mode #

Use isShell parameter to create independent scroll areas:

ElvaScrollViewBuilder(
  isShell: true,
  builder: (context, controller) {
    return CustomScrollView(
      controller: controller,
      slivers: [...]
    );
  }
)

Documentation #

For detailed API documentation and implementation principles, visit GitHub.

Example #

See the example directory for a complete example application.

License #

MIT

1
likes
150
points
135
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for nested scrolling with coordinated scrolling and inertial scrolling transfer capabilities.

Repository (GitHub)
View/report issues

Topics

#scroll-view #scrolling #inertial-scroll #coordinated-scroll #nested

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on elva_scroll_view