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