TransitionSwitcher constructor

const TransitionSwitcher({
  1. Key? key,
  2. required Animation<double> animation,
  3. required Widget child,
  4. TransitionType type = TransitionType.sharedAxis,
  5. Curve curve = AppCurves.standard,
})

Implementation

const TransitionSwitcher({
  super.key,
  required this.animation,
  required this.child,
  this.type = TransitionType.sharedAxis,
  this.curve = AppCurves.standard,
});