universal_scroll_view 1.0.4 universal_scroll_view: ^1.0.4 copied to clipboard
Universal Scroll View is a cross platform package which base on Flutter framework.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add universal_scroll_view
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
universal_scroll_view: ^1.0.4
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:universal_scroll_view/platforms/universal_single_child_scroll_view_locator.dart';
import 'package:universal_scroll_view/scroll_view/web_single_child_scroll_view.dart';
import 'package:universal_scroll_view/universal_single_child_scroll_view.dart';