animation_groups

Last updated:

0 purchases

animation_groups Image
animation_groups Images
Add to Cart

Description:

animation groups

AnimationGroup #
This is Flutter Customer Animation Library.It can make AnimationGroup to do Animation.
Features #

you can input AnimationPart.It is this moment animationInfo.
Then Create AnimationDriver to Controller Animation to do.(forward or reserve)
Now this Library is easy,maybe more function waiting dev.
You can use TransitionAnimation、ScaleAnimation、RotationAnimation

AnimationPart support X Y Z three coordinate and curve.
Many AnimationPart compose to AnimationGroup.
Usage #
Show Usage Demo like this.

animationDriver.forward(from: 0);
animationDriver.reverse(from: 1.0);
animationDriver.isRepeat = _repeat;

AnimationGroupWidget(
animationDriver: animationDriver,
animationGroups: [
TransitionAnimationGroup(parts: [
AnimationPart(moment: 0, x: 0, y: 0),
AnimationPart(moment: 1000, x: 100, y: 100,curve: Curves.easeIn),
AnimationPart(moment: 2000, x: 100, y: 200,curve: Curves.easeIn),
AnimationPart(moment: 3000, x: 200, y: 200),
AnimationPart(moment: 4000, x: 300, y: 300),
]),

ScaleAnimationGroup(parts: [
AnimationPart(moment: 4000, x: 1.0, y: 1.0,z: 1.0,curve: Curves.bounceIn),
AnimationPart(moment: 5000, x: 2.0, y: 2.0,z: 1.0),
]),

RotationAnimationGroup(
parts: [
AnimationPart(moment: 4000, x: 0, y: 0,z: 0,),
AnimationPart(moment: 5000, x: 0, y: 0,z: pi,),
]
),
],
child: Container(
child: Text("xxxxx"),
width: 20,
height: 20,
color: Colors.blue,
),
),
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.