AnimatedAlignPositioned constructor

const AnimatedAlignPositioned({
  1. Key? key,
  2. Duration duration = const Duration(milliseconds: 300),
  3. Curve curve = Curves.easeInOut,
  4. Widget? child,
  5. Alignment? alignment,
  6. double? dx,
  7. double? dy,
  8. double? moveByChildWidth,
  9. double? moveByChildHeight,
  10. double? moveByContainerWidth,
  11. double? moveByContainerHeight,
  12. double? moveVerticallyByChildWidth,
  13. double? moveHorizontallyByChildHeight,
  14. double? moveVerticallyByContainerWidth,
  15. double? moveHorizontallyByContainerHeight,
  16. double? childWidth,
  17. double? childHeight,
  18. double? minChildWidth,
  19. double? minChildHeight,
  20. double? maxChildWidth,
  21. double? maxChildHeight,
  22. double? childWidthRatio,
  23. double? childHeightRatio,
  24. double? minChildWidthRatio,
  25. double? minChildHeightRatio,
  26. double? maxChildWidthRatio,
  27. double? maxChildHeightRatio,
  28. double? rotateDegrees,
  29. Matrix4Transform? matrix4Transform,
  30. Wins wins = Wins.min,
  31. 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,
      );