alphabet_list_scroll_view 1.0.0

  • Readme
  • Changelog
  • Example
  • Installing
  • new67

Alphabet List Scroll View #

A customizable listview with A-Z side scrollbar to fast jump to the item of the selected character. Quick scroll through list via dragging through alphabets.

API #

nametypedefaultdescription
strListList-List of Strings
itemBuilderitemBuilder(context, index)-itemBuilder similar to itemBuilder in ListView.builder
highlightTextStyleboolfalsehighlight the focused pin box.
normalTextStyleColorColors.blackSet color of the focused pin box.
showPreviewboolColors.blackSet color of the focused pin box.
indexedHeightdouble Function(int)query the height of widget with index
drawing drawing

1.0.0 #

  • Massively improve performance
  • Removed unnecessary dependencies

0.1.5 #

  • Formatted code
  • Fixed preview
  • Update Documentation

0.1.0 #

  • Added a few options such as: strList, itemBuilder, highlightTextStyle , normalTextStyle, showPreview

0.0.1 #

  • Added alphabet scroll. Need to implement more customization options.

example/README.md

alphabet_list_scroll_view_example #

Demonstrates how to use the alphabet_list_scroll_view plugin.

API #

nametypedefaultdescription
strListList-List of Strings
itemBuilderitemBuilder(context, index)-itemBuilder similar to itemBuilder in ListView.builder
highlightTextStyleboolfalsehighlight the focused pin box.
normalTextStyleColorColors.blackSet color of the focused pin box.
showPreviewboolColors.blackSet color of the focused pin box.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  alphabet_list_scroll_view: ^1.0.0

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:alphabet_list_scroll_view/alphabet_list_scroll_view.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
35
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
67
Learn more about scoring.

We analyzed this package on Oct 16, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.5.1
  • pana: 0.12.21
  • Flutter: 1.9.1+hotfix.4

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health suggestions

Fix lib/alphabet_list_scroll_view.dart. (-0.50 points)

Analysis of lib/alphabet_list_scroll_view.dart reported 1 hint:

line 209 col 9: The value of the local variable 'itemLength' isn't used.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.2.2 <3.0.0
flutter 0.0.0
rxdart ^0.22.3 0.22.3
vibration ^1.2.1 1.2.2
Transitive dependencies
async 2.3.0 2.4.0
boolean_selector 1.0.5
charcode 1.1.2
collection 1.14.11 1.14.12
matcher 0.12.5
meta 1.1.7
path 1.6.4
pedantic 1.8.0+1
quiver 2.0.5
sky_engine 0.0.99
source_span 1.5.5
stack_trace 1.9.3
stream_channel 2.0.0
string_scanner 1.0.5
term_glyph 1.1.0
test_api 0.2.5 0.2.9
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies
flutter_test 0.0.0