Sticky AZ List

A ListView with sticky headers and with an dynamic vertical Alphabet List on the Side which you can drag and tap to scroll to the first item starting with that letter in the list.

Features

  • Easy to create
  • Sticky headers with floating option.
  • Support index linkage.
  • Customizable header
  • Customizable sidebar
  • Customizable overlay
  • Configurable sidebar items
  • Work with NestedScrollView
ezgif-2-7c0b388d08

Usage

Depend on it:

dependencies:
  sticky_az_list: ^0.0.7

Import:

import 'package:sticky_az_list/sticky_az_list.dart';

Example:

class User extends TaggedItem {
  final String name;
  User({required this.name});

  @override
  String sortName() => name;
}

final usersList = data
      .map(
        (item) => User(
          name: item['name'] as String,
        ),
      )
      .toList();

StickyAzList(
    items: artists,
    builder: (context, index, item) {
        return ListTile(
                title: Text(item.name),
                leading: Text(index.toString()),
            );
    });

Libraries

sticky_az_list