v3.0.0
animation_wrappers
动画包装器小部件,只需将要动画的子部件包裹在此包装器小部件中,该子部件就会被动画化。
43喜欢 2400近 30 天下载160Pub 分数
AndroidiOSWebmacOSWindowsLinux
动画包装器小部件,只需将要动画的子部件包裹在此包装器小部件中,该子部件就会被动画化。它还包含动画底部导航栏。
{"sdk":"flutter"}{"sdk":"flutter"}以下为英文项目原文快照,最新内容请访问 GitHub。
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 :heart: by Jagrit