श्रेणियाँ, पैकेज और रिपॉज़िटरी खोजें

GitHub रिपॉज़िटरीmaheshj01/alphabet_scroll_view

alphabet_scroll_view

एक स्क्रॉल करने योग्य ListView विजेट जिसमें पार्श्व में गतिशील ऊर्ध्वाधर अक्षर सूची है, जिसे आप खींचकर या टैप करके उस अक्षर से शुरू होने वाले पहले आइटम तक स्क्रॉल कर सकते हैं।

alphabet_scroll_view प्रोजेक्ट कवर
स्टार
26
फ़ोर्क
21
अंतिम पुश (UTC)
22 फ़र॰ 2026
प्रोजेक्ट स्थिति
सक्रिय

मूल README

यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।

alphabet_scroll_view: ^0.3.2

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.

Features

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

ezgif com-gif-maker

Responsive on device of any size

ezgif com-gif-maker (2)

Installation
  • Add the dependency
flutter pub add alphabet_scroll_view
  • Import the package ​
import 'package:alphabet_scroll_view/alphabet_scroll_view.dart';

Example Usage
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),
                    trailing: Radio<bool>(
                      value: false,
                      groupValue: selectedIndex != k,
                      onChanged: (value) {
                        setState(() {
                          selectedIndex = k;
                        });
                      },
                    ),
                ),
            );
        },
    ),
Customize your overlay widget
Screenshot 2021-01-24 at 1 12 37 PM
overlayWidget: (value) => Stack(
                alignment: Alignment.center,
                children: [
                  Icon(
                    Icons.star,
                    size: 50,
                    color: Colors.red,
                  ),
                  Container(
                    height: 50,
                    width: 50,
                    decoration: BoxDecoration(
                      shape: BoxShape.circle,
                    ),
                    alignment: Alignment.center,
                    child: Text(
                      '$value'.toUpperCase(),
                      style: TextStyle(fontSize: 18, color: Colors.white),
                    ),
                  ),
                ],
              ),
Screenshot 2021-01-24 at 1 09 55 PM
 overlayWidget: (value) => Container(
                    height: 50,
                    width: 50,
                    decoration: BoxDecoration(
                      shape: BoxShape.circle,
                      color: Theme.of(context).primaryColor,
                    ),
                    alignment: Alignment.center,
                    child: Text(
                      '$value'.toUpperCase(),
                      style: TextStyle(fontSize: 20, color: Colors.white),
                    ),
                  ),
Overlay Widget in Action

ezgif com-gif-maker

Refer the complete example here

Contributing

You are welcome to contribute to this package, contribution doesnt necessarily mean sending a pull request it could be

  • pointing out bugs/issues
  • requesting a new feature
  • improving the documentation

If you feel generous and confident send a PR but make sure theres an open issue if not feel free to create one before you send a PR. This helps Identify the problem and helps everyone to stay aligned with the issue :)

Mahesh Jamdade GitHub avatar
GitHub लेखक

Mahesh Jamdade ↗

Refactor less, Ship more.

भाषाएँC++CMakeDartCHTMLSwiftKotlinObjective-C

श्रेणियाँ

उपयोग की गई निर्भरताएँ

निर्भरता सूची 5 आइटम

  • flutter{"sdk":"flutter"}
  • collection^1.16.0
  • flutter_testडेवलपमेंट{"sdk":"flutter"}
  • pedanticडेवलपमेंट>=1.10.0-nullsafety.3 <3.0.0
  • flutter_lintsडेवलपमेंट2.0.1

अपने प्रोजेक्ट के लिए रिपॉज़िटरी कैसे चुनें?

उपयोग के अनुसार छाँटें, गतिविधि की तुलना करें और अपनाने से पहले मूल प्रोजेक्ट की आवश्यकताएँ जाँचें।

  1. नाम, लेखक या विवरण से खोजें और तकनीकी विषय से परिणाम सीमित करें।
  2. स्टार, फ़ोर्क और हाल के पुश की तुलना करें। स्टार रुचि दर्शाते हैं, गुणवत्ता की गारंटी नहीं।
  3. उपयोग से पहले GitHub पर README, लाइसेंस और Issues जाँचें।

स्रोत और रखरखाव

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗