visibility method

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

Adds a visibility extension to AnimateManager (Animate and AnimateList).

Implementation

T visibility({
  Duration? delay,
  Duration? duration,
  bool? end,
  bool? maintain,
}) =>
    addEffect(VisibilityEffect(
      delay: delay,
      duration: duration,
      end: end,
      maintain: maintain,
    ));