AnimatedTransform constructor

const AnimatedTransform({
  1. Key? key,
  2. Duration duration = const Duration(milliseconds: 200),
  3. Curve curve = Curves.linear,
  4. Offset offset = Offset.zero,
  5. double scale = 1.0,
  6. double rotate = 0.0,
  7. bool flipX = false,
  8. bool flipY = false,
  9. AlignmentGeometry? alignment = Alignment.center,
  10. required Widget child,
})

Create an animated transform widget

Implementation

const AnimatedTransform({
  super.key,
  super.duration = const Duration(milliseconds: 200),
  super.curve = Curves.linear,
  this.offset = Offset.zero,
  this.scale = 1.0,
  this.rotate = 0.0,
  this.flipX = false,
  this.flipY = false,
  this.alignment = Alignment.center,
  required this.child,
});