scrolls_to_top 2.1.1 scrolls_to_top: ^2.1.1 copied to clipboard
A dart package for working with scrolls-to-top iOS feature. Easy to use
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add scrolls_to_top
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
scrolls_to_top: ^2.1.1
Alternatively, 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:scrolls_to_top/scrolls_to_top.dart';