duo_motion 1.0.2 copy "duo_motion: ^1.0.2" to clipboard
duo_motion: ^1.0.2 copied to clipboard

iPhone Duo style tilt-driven frosted-glass fold effect for any Flutter widget subtree. Device motion drives a fragment shader on Impeller.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add duo_motion

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  duo_motion: ^1.0.2

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:duo_motion/duo_motion.dart';
11
likes
160
points
198
downloads

Documentation

API reference

Publisher

verified publishercoddynet.com

Weekly Downloads

iPhone Duo style tilt-driven frosted-glass fold effect for any Flutter widget subtree. Device motion drives a fragment shader on Impeller.

Repository (GitHub)
View/report issues

Topics

#animation #shader #sensors #impeller #duo

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on duo_motion

Packages that implement duo_motion