parallax_image 0.3.1+1 parallax_image: ^0.3.1+1 copied to clipboard
A Flutter widget that paints an image and moves it at a slower speed than the main scrolling content.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add parallax_image
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
parallax_image: ^0.3.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:parallax_image/parallax_image.dart';