Skip to content
pubscout

sticky_infinite_list

5.0.0, released 2 months ago by an unverified publisher

Infinite scroll list with sticky headers supporting multiple directions.

WASM-ready
$ flutter pub add sticky_infinite_list
Source repository

What it does

Renders an infinite list in both vertical and horizontal directions with sticky headers. It allows customizable header positioning, dynamic sizing, and doesn't rely on any third-party dependencies or native code.

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

Use it when

  • You need an infinite scroll list with sticky headers.
  • You need multi-directional scrolling (both forward and backward, or horizontal).
  • You want custom positioning and alignment for list headers.

Skip it when

  • You need a standard single-direction finite list where a basic ListView or CustomScrollView is sufficient.
  • You are using a Flutter version lower than 3.41.

Strengths

  • Supports multi-directional infinite lists with sticky headers.
  • Highly customizable header positioning and cross/main-axis alignment.
  • No third-party or native dependencies.

Weaknesses

  • Does not natively support the `CustomScrollView.reverse` option (requires anchor workarounds).
  • Requires Flutter 3.41 or higher in version 5.0.0.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0

not documented

InfiniteList(
  builder: (BuildContext context, int index) {
    return InfiniteListItem(
      headerBuilder: (BuildContext context) {
        return Container();
      },
      contentBuilder: (BuildContext context) {
        return Container();
      },
    );
  },
)

Alternatives

Packages that do the same job and could replace sticky_infinite_list.