AnimatedTransition constructor

const AnimatedTransition({
  1. Key? key,
  2. required Rect beginRect,
  3. required Rect endRect,
  4. required Widget child,
  5. VoidCallback? onEnd,
  6. Curve? curve,
  7. Duration duration = const Duration(milliseconds: 200),
})

Implementation

const AnimatedTransition({
  super.key,
  required this.beginRect,
  required this.endRect,
  required this.child,
  this.onEnd,
  this.curve,
  this.duration = const Duration(milliseconds: 200),
});