A container that can be slid vertically and horizontally with a smooth dampened motion.
Offers a handful of callbacks for customization and handles both drag distance and velocity to validate swipe gestures.
Features a customized GestureDetector to reduce nested GestureDetector conflicts.
example folder with
flutter run for a demo, or check the video in this blog post:
Install instructions and doc are available here:
SlideContainerDirectionand changed its values.
Demo of the Slide Container.
Add this to your package's pubspec.yaml file:
dependencies: slide_container: ^1.0.7
You can install packages from the command line:
$ flutter pub get
Alternatively, your editor might support
flutter pub get.
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
We analyzed this package on Aug 20, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: Flutter
References Flutter, and has no conflicting libraries.