Skip to content
pubscout

alphabet_scroll_view

0.3.2, released 4 years ago by maheshjamdade.com

A scrollable list view with a vertical alphabet index for quick jumping.

WASM-ready
$ flutter pub add alphabet_scroll_view
Source repository

What it does

Provides a scrollable list view widget combined with a dynamic vertical alphabet index list on the side. Users can drag or tap letters on the index to automatically scroll to the first item starting with that letter.

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

Use it when

  • You need to display a long alphabetically ordered list, such as contacts or a country list.
  • You want users to be able to jump to specific sections of a list quickly using an alphabet sidebar.

Skip it when

  • Your list items do not have alphabetical ordering or textual identifiers.
  • You require complex grid layouts rather than a standard vertical list.

Strengths

  • Supports custom overlay widgets to display the currently selected letter.
  • Allows alignment of the alphabet list on either the left or the right side.
  • Responsive across all screen sizes and platforms supported by Flutter.

Weaknesses

  • Limited to alphabetical indexing out-of-the-box.
  • No documentable advanced customization beyond standard parameters and overlay widgets.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1
AlphabetScrollView(
    list: list.map((e) => AlphaModel(e)).toList(),
    itemExtent: 50,
    itemBuilder: (_, k, id) {
      return Padding(
        padding: const EdgeInsets.only(right: 20),
        child: ListTile(
          title: Text('$id'),
          subtitle: Text('Secondary text'),
          leading: Icon(Icons.label),
        ),
      );
    },
)

Alternatives

Packages that do the same job and could replace alphabet_scroll_view.