FadedScaleAnimation constructor

FadedScaleAnimation({
  1. Key? key,
  2. required Widget child,
  3. Duration fadeDuration = const Duration(milliseconds: 1000),
  4. Duration scaleDuration = const Duration(milliseconds: 500),
  5. Curve fadeCurve = Curves.decelerate,
  6. Curve scaleCurve = Curves.decelerate,
  7. Alignment alignment = Alignment.center,
})

Implementation

FadedScaleAnimation({
  Key? key,
  required this.child,
  this.fadeDuration = const Duration(milliseconds: 1000),
  this.scaleDuration = const Duration(milliseconds: 500),
  this.fadeCurve = Curves.decelerate,
  this.scaleCurve = Curves.decelerate,
  this.alignment = Alignment.center,
}) : super(key: key);