alphabet_slider

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

alphabet slider

alphabet_slider #
A Flutter plugin for an Alphabet slider, commonly used in phone contact listing pages. This package provides a widget that lists all the alphabets vertically. Users can select an alphabet by either sliding on top of the list or clicking on an alphabet.

Usage #
To use this plugin, add alphabet_slider as a dependency in your pubspec.yaml file.
Example #

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

Stack(
alignment: Alignment.centerRight,
children: [
ListView.builder(
itemCount: 50,
itemBuilder: _getScrollItemBuilder,
),
AlphabetSlider(
onLetterSelect: _onLetterSelect,
textColor: Colors.green,
fontSize: 12,
)
],
),

void _onLetterSelect(String letter) {
// Jump to contact starting with 'letter'
}
copied to clipboard
See the example app for a complex example.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.