SlideInDownAnimation constructor

SlideInDownAnimation({
  1. Key? key,
  2. required Duration duration,
  3. required Duration delay,
  4. required Widget child,
  5. ValueSetter<AnimationController>? onComplete,
  6. required double begin,
  7. required double end,
  8. double idleValue = 0,
})

Implementation

SlideInDownAnimation({
  super.key,
  required super.duration,
  required super.delay,
  required super.child,
  super.onComplete,
  required super.begin,
  required super.end,
  super.idleValue = 0,
}) : super(
        offsetBuild: (context, value) =>
            Offset(0, (1 - value) * MediaQuery.of(context).size.height),
      );