BarrageLine constructor
const
BarrageLine({
- required BarrageLineController controller,
- Key? key,
- Duration duration = const Duration(seconds: 5),
- HandleComplete? onHandleComplete,
- double itemSpaceWidth = 45,
- bool randomItemSpace = false,
- double originStart = 0,
- required double fixedWidth,
- required double height,
- TransitionDirection direction = TransitionDirection.rtl,
Implementation
const BarrageLine(
{required this.controller,
Key? key,
// this.bgchild,
this.duration = const Duration(seconds: 5),
this.onHandleComplete,
this.itemSpaceWidth = 45,
this.randomItemSpace = false,
this.originStart = 0,
required this.fixedWidth,
required this.height,
this.direction = TransitionDirection.rtl})
: super(key: key);