Animation Wrapper widgets, just wrap the child to be animated with this wrapper widget and that child will be animated.
To use this package, add animation_wrappers
as a dependency in your pubspec.yaml file.
See example for all animation wrappers
dependencies:
animation_wrappers: ^3.0.2
import 'package:animation_wrappers/animation_wrappers.dart';
FadedScaleAnimation(
Container(
height: 200,
width: 200,
color: Colors.blue,
),
),
FadedSlideAnimation(
Container(
height: 200,
width: 200,
color: Colors.blue,
),
beginOffset: Offset(0.5, 2),
endOffset: Offset(0.5, 1),
),
FadeAnimation(
child: Container(
height: 200,
width: 200,
color: Colors.blue,
),
),
ScaleAnimation(
child: Container(
height: 200,
width: 200,
color: Colors.blue,
),
),
Many more animation wrappers will be added soon..!
Made with ❤️ by Jagrit