CellAnimatedCrossFade constructor
const
CellAnimatedCrossFade({
- Key? key,
- required ValueCell<
Widget> firstChild, - required ValueCell<
Widget> secondChild, - ValueCell<
Curve> firstCurve = const ValueCell.value(Curves.linear), - ValueCell<
Curve> secondCurve = const ValueCell.value(Curves.linear), - ValueCell<
Curve> sizeCurve = const ValueCell.value(Curves.linear), - ValueCell<
AlignmentGeometry> alignment = const ValueCell.value(Alignment.topCenter), - required ValueCell<
CrossFadeState> crossFadeState, - required ValueCell<
Duration> duration, - ValueCell<
Duration?> ? reverseDuration, - ValueCell<
Widget Function(Widget, Key, Widget, Key)> layoutBuilder = const ValueCell.value(AnimatedCrossFade.defaultLayoutBuilder), - 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),
});