CrossFadedTransition constructor
const
CrossFadedTransition({
- Key? key,
- required Widget child,
- Duration duration = kDefaultDuration,
- AlignmentGeometry alignment = Alignment.center,
- Widget lerp(
- Widget a,
- Widget b,
- double t, {
- AlignmentGeometry alignment,
Implementation
const CrossFadedTransition({
super.key,
required this.child,
this.duration = kDefaultDuration,
this.alignment = Alignment.center,
this.lerp = lerpOpacity,
});