SliverAnimatedSwitcher constructor

const SliverAnimatedSwitcher({
  1. Key? key,
  2. required Widget child,
  3. required Duration duration,
  4. Duration? reverseDuration,
  5. Curve switchInCurve = Curves.linear,
  6. Curve switchOutCurve = Curves.linear,
})

Implementation

const SliverAnimatedSwitcher({
  Key? key,
  required this.child,
  required this.duration,
  this.reverseDuration,
  this.switchInCurve = Curves.linear,
  this.switchOutCurve = Curves.linear,
}) : super(key: key);