QuickAnimate
QuickAnimate is a Flutter package that provides a collection of simple yet powerful animations to enhance your app's user interface. It includes various animation widgets and page transitions to create a seamless and dynamic experience.
Features
- Basic Animations:
- Fade: Fade in/out your widgets smoothly.
- Scale: Scale widgets up or down with ease.
- Rotate: Add rotation effects to your widgets.
- Slide: Slide widgets in any direction.
- Shake: Add a fun shaking effect with customizable damping and amplitude.
- Page Transitions:
- Transition between screens with slide, fade, scale, or rotation effects.
Getting started
Add the following to your pubspec.yaml:
dependencies:
quickanimate: ^0.0.2
Usage
Here's an example of how to use the ShakeAnimation widget:
import 'package:quickanimate/quickanimate.dart';
ShakeAnimation(
amplitude: 10.0,
damping: 3.0,
cycles: 2,
child: Text('Shaking Text!'),
);
For page transitions:
Navigator.push(
context,
PageTransitionAnimation(
page: NextScreen(),
mode: PageTransitionMode.fade,
duration: Duration(milliseconds: 500),
),
);
Additional information
This package is designed to lessen the burden of beginner developers who are struggling with animations in Flutter. By offering ready-to-use widgets and transitions, QuickAnimate allows developers to focus on building their apps without worrying about complex animation setups.