depthlift 0.2.0
depthlift: ^0.2.0 copied to clipboard
Convert any 2D image into a live 3D parallax scene with on-device depth estimation. Inspired by iOS depth effects.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add depthliftThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
depthlift: ^0.2.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:depthlift/depthlift.dart';