SwapEffect constructor

const SwapEffect({
  1. Duration? delay,
  2. Duration? duration,
  3. required Widget builder(
    1. BuildContext,
    2. Widget
    ),
})

Implementation

const SwapEffect({
  Duration? delay,
  Duration? duration,
  required this.builder,
}) : super(
        delay: delay,
        duration: duration,
      );