How to implement Alphabetical Scroll (A-Z) in Flutter

In this guide, we will learn how to implement the Alphabetical Scroll in Flutter by using the external package name  alphabet_scroll_view . A Scrollable ListView Widget with the 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.

Related: Slivers And CustomScrollView In Flutter


  • Responsive on all screens of different sizes and runs on all Flutter-supported platforms
  • show your own widget(overlayWidget) when the pointer is in focus with Screen
  • Align the alphabet list on the left or right
  • Tap or drag to scroll to a particular Alphabet.


  • Add the dependency
  alphabet_scroll_view: ^0.3.1
  • Import the package​
import 'package:alphabet_scroll_view/alphabet_scroll_view.dart';

Let’s take an example of how we can implement the Alphabetical Scroll (A-Z) in our flutter application.

import 'package:flutter/material.dart';
import 'package:alphabet_scroll_view/alphabet_scroll_view.dart';

class AlphabeticalScrollerWidegt extends StatefulWidget {
  const AlphabeticalScrollerWidegt({Key? key}) : super(key: key);

  State<AlphabeticalScrollerWidegt> createState() =>

class _AlphabeticalScrollerWidegtState
    extends State<AlphabeticalScrollerWidegt> {
  List<String> list = [
    'Turbo Slayer',
    'Cryptic Hatter',
    'Crash TV',
    'Blue Defender',
    'Toxic Headshot',
    'Iron Merc',
    'Steel Titan',
    'Stealthed Defender',
    'Blaze Assault',
    'Venom Fate',
    'Dark Carnage',
    'Fatal Destiny',
    'Ultimate Beast',
    'Masked Titan',
    'Frozen Gunner',

  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Alphabetical Scroller '),
        centerTitle: true,
      body: Column(
        children: [
            child: AlphabetScrollView(
              list: => AlphaModel(e)).toList(),
              // isAlphabetsFiltered: false,
              alignment: LetterAlignment.right,
              itemExtent: 50,
              unselectedTextStyle: const TextStyle(
                  fontSize: 18,
                  fontWeight: FontWeight.normal,
              selectedTextStyle: const TextStyle(
                  fontSize: 20, fontWeight: FontWeight.bold, color:,

              itemBuilder: (_, index, string) {
                return Padding(
                  padding: const EdgeInsets.only(right: 20),
                  child: ListTile(
                    title: Text(string),
                    leading: const Icon(Icons.person),

Meanwhile, when we run this application in the emulator or device, we should get the UI similar to the screenshot below:

Get the full snippet from here