alphabet_list_scroll 0.0.3
alphabet_list_scroll: ^0.0.3 copied to clipboard
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.
We analyzed this package 5 days ago, and awarded it 60 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
1 out of 22 API elements (4.5 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: alphabet_list_scroll, alphabet_list_scroll.AlphabetCallback, alphabet_list_scroll.AlphabetListScrollView, alphabet_list_scroll.AlphabetListScrollView.AlphabetListScrollView.new, alphabet_list_scroll.AlphabetListScrollView.headerWidgetList.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:alphabet_list_scroll/alphabet_list_scroll.dartthat imports:package:vibration/vibration.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:alphabet_list_scroll/alphabet_list_scroll.dartthat imports:package:vibration/vibration.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:alphabet_list_scroll/alphabet_list_scroll.dartthat imports:package:vibration/vibration.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:alphabet_list_scroll/alphabet_list_scroll.dartthat imports:package:vibration/vibration.dartthat declares support for platforms:Android,iOS.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:alphabet_list_scroll/alphabet_list_scroll.dartthat imports:package:vibration/vibration.dartthat imports:package:vibration_platform_interface/vibration_platform_interface.dartthat imports:package:vibration_platform_interface/src/method_channel_vibration.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:alphabet_list_scroll/alphabet_list_scroll.dartthat imports:package:vibration/vibration.dartthat imports:package:vibration_platform_interface/vibration_platform_interface.dartthat imports:package:vibration_platform_interface/src/method_channel_vibration.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 16 issues. Showing the first 2:
ERROR: A nullable expression can't be used as a condition.
lib/alphabet_list_scroll.dart:325:32
╷
325 │ if (widget.useVibration && await Vibration.hasVibrator()) {
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/alphabet_list_scroll.dart
WARNING: The '!' will have no effect because the receiver can't be null.
lib/alphabet_list_scroll.dart:119:28
╷
119 │ WidgetsBinding.instance!.addPostFrameCallback(_afterLayout);
│ ^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/alphabet_list_scroll.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
vibration |
^1.7.3 |
1.9.0 | 3.1.6 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
device_info_plus |
- | 11.5.0 | 12.3.0 | |
device_info_plus_platform_interface |
- | 7.0.3 | 7.0.3 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.1 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
vibration_platform_interface |
- | 0.0.3 | 0.1.1 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.15.0 | 5.15.0 | |
win32_registry |
- | 2.1.0 | 2.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^1.7.3` on vibration does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions vibration to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 1 error:
UNCHECKED_USE_OF_NULLABLE_VALUE-lib/alphabet_list_scroll.dart:325:32- A nullable expression can't be used as a condition.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.9, Flutter 3.38.9, Dart 3.10.8.
Check the analysis log for details.