일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- flutter ios 폴더
- dart
- 파이썬
- swift 동시성
- leetcode dart
- flutter android 폴더
- keychain error
- flutter statefulwidget
- generate parentheses dart
- flutter widget
- tft api dart
- 롤 api dart
- 파이썬 부동소수점
- widget
- Architectural overview
- dart.dev
- 롤토체스 api dart
- AnimationController
- dart new
- com.google.GIDSignIn
- valorant api dart
- flutter
- lol api dart
- swift concurrency
- docker overview
- PlatformException(sign_in_failed
- riot api dart
- dart new 키워드
- 발로란트 api dart
- flutter bloc
- Today
- Total
Coaspe
Flutter - AnimatedContainer 본문
시간이 지나면서 스스로의 값을 변화하는 애니메이션이 있는 버젼의 Container 입니다.
AnimatedContainer는 자동적으로 어떤 특성의 오래된 값에서 새로운 값으로 그들의 값이 바뀔 때 주어진 커브와 애니메이션 시간을 사용하여 변화합니다. null인 특성들은 애니메이트 되지 않습니다. AnimatedContainer의 자식들도 애니메이트 되지 않습니다.
이 클래스는 AnimationContainer의 내부에 존재하는 AnimationController(1)를 사용하여 다른 파라미터 값들 사이의 implicit한 트렌지션을 생성하는 데 유용합니다.
더 복잡한 애니메이션을 만들기 위해 DecoratedBoxTransition 같은 AnimatedWidget 의 서브 클래스를 사용하거나, 따로 정의한 AnimationController 를 사용할 수 있습니다.
See also:
- AnimatedPadding, which is a subset of this widget that only supports animating the padding.
- The catalog of layout widgets.
- AnimatedPositioned, which, as a child of a Stack, automatically transitions its child's position over a given duration whenever the given position changes.
- AnimatedAlign, which automatically transitions its child's position over a given duration whenever the given AnimatedAlign.alignment changes.
- AnimatedSwitcher, which switches out a child for a new one with a customizable transition.
- AnimatedCrossFade, which fades between two children and interpolates their sizes.
상속구조
생성자
Key? key,
AlignmentGeometry? alignment,
EdgeInsetsGeometry? padding,
Color? color,
Decoration? decoration,
Decoration? foregroundDecoration,
double? width,
double? height,
BoxConstraints? constraints,
EdgeInsetsGeometry? margin,
Matrix4? transform,
AlignmentGeometry? transformAlignment,
Widget? child,
Clip clipBehavior = Clip.none,
Curve curve = Curves.linear,
required Duration duration, # 애니메이션이 실행되는 총 시간
VoidCallback? onEnd
})
'Flutter > API' 카테고리의 다른 글
Flutter - AnimationController (0) | 2023.02.17 |
---|---|
Flutter - PageRouteBuilder<T> (0) | 2023.02.17 |
Flutter - CupertinoButton (0) | 2023.02.17 |
Flutter - CupertinoSliverNavigationBar (0) | 2023.02.17 |
Flutter - CustomScollView (0) | 2023.02.17 |