bind method

CellAnimatedSwitcher bind({
  1. ValueCell<Widget?>? child,
  2. ValueCell<Duration>? duration,
  3. ValueCell<Duration?>? reverseDuration,
  4. ValueCell<Curve>? switchInCurve,
  5. ValueCell<Curve>? switchOutCurve,
  6. ValueCell<Widget Function(Widget, Animation<double>)>? transitionBuilder,
  7. ValueCell<AnimatedSwitcherLayoutBuilder>? layoutBuilder,
})

Implementation

CellAnimatedSwitcher bind({
  ValueCell<Widget?>? child,
  ValueCell<Duration>? duration,
  ValueCell<Duration?>? reverseDuration,
  ValueCell<Curve>? switchInCurve,
  ValueCell<Curve>? switchOutCurve,
  ValueCell<Widget Function(Widget, Animation<double>)>? transitionBuilder,
  ValueCell<AnimatedSwitcherLayoutBuilder>? layoutBuilder,
}) =>
    CellAnimatedSwitcher(
      child: child ?? this.child,
      duration: duration ?? this.duration,
      reverseDuration: reverseDuration ?? this.reverseDuration,
      switchInCurve: switchInCurve ?? this.switchInCurve,
      switchOutCurve: switchOutCurve ?? this.switchOutCurve,
      transitionBuilder: transitionBuilder ?? this.transitionBuilder,
      layoutBuilder: layoutBuilder ?? this.layoutBuilder,
    );