ScrollLoopAutoScroll constructor

const ScrollLoopAutoScroll({
  1. required Widget child,
  2. required Axis scrollDirection,
  3. Key? key,
  4. Duration delay = const Duration(seconds: 1),
  5. Duration duration = const Duration(seconds: 50),
  6. double gap = 25,
  7. bool reverseScroll = false,
  8. int duplicateChild = 25,
  9. bool enableScrollInput = true,
  10. Duration delayAfterScrollInput = const Duration(seconds: 1),
})

Implementation

const ScrollLoopAutoScroll({
  required this.child,
  required this.scrollDirection,
  Key? key,
  this.delay = const Duration(seconds: 1),
  this.duration = const Duration(seconds: 50),
  this.gap = 25,
  this.reverseScroll = false,
  this.duplicateChild = 25,
  this.enableScrollInput = true,
  this.delayAfterScrollInput = const Duration(seconds: 1),
}) : super(key: key);