CrossFadedTransition constructor

const CrossFadedTransition({
  1. Key? key,
  2. required Widget child,
  3. Duration duration = kDefaultDuration,
  4. AlignmentGeometry alignment = Alignment.center,
  5. Widget lerp(
    1. Widget a,
    2. Widget b,
    3. double t, {
    4. AlignmentGeometry alignment,
    }) = lerpOpacity,
})

Implementation

const CrossFadedTransition({
  super.key,
  required this.child,
  this.duration = kDefaultDuration,
  this.alignment = Alignment.center,
  this.lerp = lerpOpacity,
});