ModulaAnimatedSwitcher constructor

const ModulaAnimatedSwitcher({
  1. required Widget child,
  2. Key? key,
  3. Duration duration = const Duration(milliseconds: 300),
  4. Curve switchInCurve = Curves.easeIn,
  5. Curve switchOutCurve = Curves.easeOut,
})

Implementation

const ModulaAnimatedSwitcher({
  required this.child,
  super.key,
  this.duration = const Duration(milliseconds: 300),
  this.switchInCurve = Curves.easeIn,
  this.switchOutCurve = Curves.easeOut,
});