Skip to content
pubscout

roller_list

1.0.4, released 3 months ago by yahhi.me

A list widget that endlessly scrolls over a limited set of items like a roller.

WASM-ready
$ flutter pub add roller_list
Source repository

What it does

Provides a list of values distributed in a circle where a user can scroll endlessly in one direction over a limited and repeated set of items. It allows handling selection changes and supports programmatic scrolling.

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

Use it when

  • Building time selection controls
  • Implementing picker widgets with repeating limited options
  • Creating piano notes selection or slot-like selectors

Skip it when

  • You need a standard long or infinite list with distinct non-repeating items
  • You require complex heterogenous layouts not suited for repeating roller slots

Strengths

  • Endless scrolling over limited sets of items
  • Supports programmatic scrolling and scroll direction locks
  • Easy integration with standard widget lists

Weaknesses

  • Limited use cases outside of selectors and time/value pickers
  • Relies on a small set of dependencies including infinite_listview

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1
RollerList(
  items: months,
  onSelectedIndexChanged: _changeMonths,
  initialIndex: 1,
)

Alternatives

Packages that do the same job and could replace roller_list.

Works with

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