BarrageLine constructor

const BarrageLine({
  1. required BarrageLineController controller,
  2. Key? key,
  3. Duration duration = const Duration(seconds: 5),
  4. HandleComplete? onHandleComplete,
  5. double itemSpaceWidth = 45,
  6. bool randomItemSpace = false,
  7. double originStart = 0,
  8. required double fixedWidth,
  9. required double height,
  10. 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);