indexed_scroll_controller 0.3.1
indexed_scroll_controller: ^0.3.1 copied to clipboard
Scroll a Flutter ListView.builder to any item by index, including items not yet built or measured. Vertical and horizontal.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add indexed_scroll_controllerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
indexed_scroll_controller: ^0.3.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:indexed_scroll_controller/indexed_scroll_controller.dart';