AnimatedMargin constructor

const AnimatedMargin({
  1. Key? key,
  2. required Animation<double> animation,
  3. required double position,
  4. required Widget child,
})

Implementation

const AnimatedMargin({
  super.key,
  required this.animation,
  required this.position,
  required this.child,
}) : super(listenable: animation);