AnimatedOffset constructor

const AnimatedOffset({
  1. Key? key,
  2. required Offset offset,
  3. required Widget child,
  4. Duration duration = const Duration(milliseconds: 250),
  5. Curve curve = Curves.linear,
  6. VoidCallback? onEnd,
})

Implementation

const AnimatedOffset({
  super.key,
  required this.offset,
  required this.child,
  super.duration = const Duration(milliseconds: 250),
  super.curve,
  super.onEnd,
});