ToggleEffect constructor

const ToggleEffect({
  1. Duration? delay,
  2. Duration? duration,
  3. required ToggleEffectBuilder builder,
})

Implementation

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