AnimateIfVisibleWrapper constructor

const AnimateIfVisibleWrapper(
  1. {@required Widget child,
  2. Duration delay = Duration.zero,
  3. Duration showItemInterval = const Duration(milliseconds: 150),
  4. ScrollController controller,
  5. Key key}
)

Implementation

const AnimateIfVisibleWrapper({
  @required this.child,
  this.delay = Duration.zero,
  this.showItemInterval = const Duration(milliseconds: 150),
  this.controller,
  Key key,
})  : assert(delay != null),
      assert(showItemInterval != null),
      super(key: key);