parallax_sensors_bg 1.0.1 parallax_sensors_bg: ^1.0.1 copied to clipboard
Flutter package to simplify giving a parallax effect in the background of a page that responds to a corresponding sensor detection.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add parallax_sensors_bg
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
parallax_sensors_bg: ^1.0.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_sensors_bg/parallax_sensors_bg.dart';