CellAnimatedSwitcher constructor
const
CellAnimatedSwitcher({
- Key? key,
- ValueCell<
Widget?> ? child, - required ValueCell<
Duration> duration, - ValueCell<
Duration?> ? reverseDuration, - ValueCell<
Curve> switchInCurve = const ValueCell.value(Curves.linear), - ValueCell<
Curve> switchOutCurve = const ValueCell.value(Curves.linear), - ValueCell<
Widget Function(Widget, Animation< transitionBuilder = const ValueCell.value(AnimatedSwitcher.defaultTransitionBuilder),double> )> - ValueCell<
AnimatedSwitcherLayoutBuilder> layoutBuilder = const ValueCell.value(AnimatedSwitcher.defaultLayoutBuilder),
Implementation
const CellAnimatedSwitcher({
super.key,
this.child,
required this.duration,
this.reverseDuration,
this.switchInCurve = const ValueCell.value(Curves.linear),
this.switchOutCurve = const ValueCell.value(Curves.linear),
this.transitionBuilder =
const ValueCell.value(AnimatedSwitcher.defaultTransitionBuilder),
this.layoutBuilder =
const ValueCell.value(AnimatedSwitcher.defaultLayoutBuilder),
});