All Projects → maheshmnj → alphabet_scroll_view

maheshmnj / alphabet_scroll_view

Licence: MIT license
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.

Programming Languages

C++
36643 projects - #6 most used programming language
CMake
9771 projects
dart
5743 projects
HTML
75241 projects
c
50402 projects - #5 most used programming language
swift
15916 projects

Projects that are alternatives of or similar to alphabet scroll view

cross connectivity
A Flutter plugin for handling Connectivity and REAL Connection state in the mobile, web and desktop platforms. Supports iOS, Android, Web, Windows, Linux and macOS.
Stars: ✭ 27 (+28.57%)
Mutual labels:  flutter-package
flutter otp
A Flutter package for iOS and Android for sending and verifying OTP to a Phone number.
Stars: ✭ 59 (+180.95%)
Mutual labels:  flutter-package
nil
A simple Flutter widget to add in the widget tree when you want to show nothing, with minimal impact on performance.
Stars: ✭ 130 (+519.05%)
Mutual labels:  flutter-package
flutter-UI
将Flutter各种Widget各种API📘都实现一次。喜欢请Star。
Stars: ✭ 67 (+219.05%)
Mutual labels:  flutter-package
Bloc
A predictable state management library that helps implement the BLoC design pattern
Stars: ✭ 8,214 (+39014.29%)
Mutual labels:  flutter-package
DismissibleExpandedList
A Flutter package to display hierarchical data in the form of list as well as allows to swipe the individual tiles.
Stars: ✭ 29 (+38.1%)
Mutual labels:  flutter-package
flutter page transition
A rich, convenient, easy-to-use flutter page transition package
Stars: ✭ 55 (+161.9%)
Mutual labels:  flutter-package
very good infinite list
A Very Good Infinite List Widget created by Very Good Ventures. Great for activity feeds, news feeds, and more. 🦄
Stars: ✭ 109 (+419.05%)
Mutual labels:  flutter-package
flutter dynamic forms
A collection of flutter and dart libraries allowing you to consume complex external forms at runtime.
Stars: ✭ 197 (+838.1%)
Mutual labels:  flutter-package
bottom animation
Bottom Navigation Mixed Animation
Stars: ✭ 32 (+52.38%)
Mutual labels:  flutter-package
feedback
A simple widget for getting better feedback.
Stars: ✭ 178 (+747.62%)
Mutual labels:  flutter-package
flutter styled toast
A Styled Toast Flutter package.
Stars: ✭ 45 (+114.29%)
Mutual labels:  flutter-package
flutter sliding tutorial
User onboarding library with smooth animation of objects and background colors
Stars: ✭ 127 (+504.76%)
Mutual labels:  flutter-package
overflow view
A widget displaying children in a line until there is not enough space and showing a the number of children not rendered.
Stars: ✭ 136 (+547.62%)
Mutual labels:  flutter-package
flutter device type
Determine the type of handheld device on Flutter. Like if the device is a Tablet or is iPhoneX.
Stars: ✭ 26 (+23.81%)
Mutual labels:  flutter-package
epub-package.dart
A dart package to parse EPUB files
Stars: ✭ 21 (+0%)
Mutual labels:  flutter-package
arbify flutter
Flutter package providing Arbify support.
Stars: ✭ 18 (-14.29%)
Mutual labels:  flutter-package
flutter ume
UME is an in-app debug kits platform for Flutter. Produced by Flutter Infra team of ByteDance
Stars: ✭ 1,792 (+8433.33%)
Mutual labels:  flutter-package
Flutter-Custom-Carousel
Flutter Custom Carousel Application Design and Animation - day 18
Stars: ✭ 44 (+109.52%)
Mutual labels:  flutter-package
flutter event calendar
Gregorian and Jalali Event calendar for flutter with options for change style
Stars: ✭ 28 (+33.33%)
Mutual labels:  flutter-package

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 :)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].