scroll_pos 0.4.0  scroll_pos: ^0.4.0 copied to clipboard
scroll_pos: ^0.4.0 copied to clipboard
Provides some additional functions to ScrollController to define item position relative to the screen.
Use this package as a library
Depend on it
Run this command:
With Flutter:
 $ flutter pub add scroll_posThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
  scroll_pos: ^0.4.0Alternatively, 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:scroll_pos/scroll_pos.dart';