ScrollLoopAutoScroll constructor
const
ScrollLoopAutoScroll({
- required Widget child,
- required Axis scrollDirection,
- Key? key,
- Duration delay = const Duration(seconds: 1),
- Duration duration = const Duration(seconds: 50),
- double gap = 25,
- bool reverseScroll = false,
- int duplicateChild = 25,
- bool enableScrollInput = true,
- 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);