AnimatedAlignPositioned constructor
const
AnimatedAlignPositioned({
- Key? key,
- Duration duration = const Duration(milliseconds: 300),
- Curve curve = Curves.easeInOut,
- Widget? child,
- Alignment? alignment,
- double? dx,
- double? dy,
- double? moveByChildWidth,
- double? moveByChildHeight,
- double? moveByContainerWidth,
- double? moveByContainerHeight,
- double? moveVerticallyByChildWidth,
- double? moveHorizontallyByChildHeight,
- double? moveVerticallyByContainerWidth,
- double? moveHorizontallyByContainerHeight,
- double? childWidth,
- double? childHeight,
- double? minChildWidth,
- double? minChildHeight,
- double? maxChildWidth,
- double? maxChildHeight,
- double? childWidthRatio,
- double? childHeightRatio,
- double? minChildWidthRatio,
- double? minChildHeightRatio,
- double? maxChildWidthRatio,
- double? maxChildHeightRatio,
- double? rotateDegrees,
- Matrix4Transform? matrix4Transform,
- Wins wins = Wins.min,
- Touch touch = Touch.inside,
Implementation
const AnimatedAlignPositioned({
Key? key,
Duration duration = const Duration(milliseconds: 300),
Curve curve = Curves.easeInOut,
this.child,
Alignment? alignment,
double? dx,
double? dy,
double? moveByChildWidth,
double? moveByChildHeight,
double? moveByContainerWidth,
double? moveByContainerHeight,
double? moveVerticallyByChildWidth,
double? moveHorizontallyByChildHeight,
double? moveVerticallyByContainerWidth,
double? moveHorizontallyByContainerHeight,
this.childWidth,
this.childHeight,
this.minChildWidth,
this.minChildHeight,
this.maxChildWidth,
this.maxChildHeight,
this.childWidthRatio,
this.childHeightRatio,
this.minChildWidthRatio,
this.minChildHeightRatio,
this.maxChildWidthRatio,
this.maxChildHeightRatio,
this.rotateDegrees,
this.matrix4Transform,
this.wins = Wins.min,
this.touch = Touch.inside,
}) : alignment = alignment ?? Alignment.center,
dx = dx ?? 0.0,
dy = dy ?? 0.0,
moveByChildWidth = moveByChildWidth ?? 0.0,
moveByChildHeight = moveByChildHeight ?? 0.0,
moveByContainerWidth = moveByContainerWidth ?? 0.0,
moveByContainerHeight = moveByContainerHeight ?? 0.0,
moveVerticallyByChildWidth = moveVerticallyByChildWidth ?? 0.0,
moveHorizontallyByChildHeight = moveHorizontallyByChildHeight ?? 0.0,
moveVerticallyByContainerWidth = moveVerticallyByContainerWidth ?? 0.0,
moveHorizontallyByContainerHeight = moveHorizontallyByContainerHeight ?? 0.0,
super(
key: key,
duration: duration,
curve: curve,
);