VisibilityEffect constructor

const VisibilityEffect({
  1. Duration? delay,
  2. Duration? duration,
  3. bool? end,
  4. bool? maintain,
})

Implementation

const VisibilityEffect({
  Duration? delay,
  Duration? duration,
  bool? end,
  bool? maintain,
})  : maintain = maintain ?? defaultMaintain,
      super(
        delay: delay,
        duration: duration,
        begin: !(end ?? neutralValue),
        end: end ?? neutralValue,
      );