CellAnimatedCrossFade constructor

const CellAnimatedCrossFade({
  1. Key? key,
  2. required ValueCell<Widget> firstChild,
  3. required ValueCell<Widget> secondChild,
  4. ValueCell<Curve> firstCurve = const ValueCell.value(Curves.linear),
  5. ValueCell<Curve> secondCurve = const ValueCell.value(Curves.linear),
  6. ValueCell<Curve> sizeCurve = const ValueCell.value(Curves.linear),
  7. ValueCell<AlignmentGeometry> alignment = const ValueCell.value(Alignment.topCenter),
  8. required ValueCell<CrossFadeState> crossFadeState,
  9. required ValueCell<Duration> duration,
  10. ValueCell<Duration?>? reverseDuration,
  11. ValueCell<Widget Function(Widget, Key, Widget, Key)> layoutBuilder = const ValueCell.value(AnimatedCrossFade.defaultLayoutBuilder),
  12. ValueCell<bool> excludeBottomFocus = const ValueCell.value(true),
})

Implementation

const CellAnimatedCrossFade({
  super.key,
  required this.firstChild,
  required this.secondChild,
  this.firstCurve = const ValueCell.value(Curves.linear),
  this.secondCurve = const ValueCell.value(Curves.linear),
  this.sizeCurve = const ValueCell.value(Curves.linear),
  this.alignment = const ValueCell.value(Alignment.topCenter),
  required this.crossFadeState,
  required this.duration,
  this.reverseDuration,
  this.layoutBuilder =
      const ValueCell.value(AnimatedCrossFade.defaultLayoutBuilder),
  this.excludeBottomFocus = const ValueCell.value(true),
});