ScrollingText constructor

const ScrollingText({
  1. required String text,
  2. Key? key,
  3. TextStyle? textStyle,
  4. int maxLengthForScrolling = 10,
  5. Color? color,
  6. double? height,
  7. double? width,
  8. TextAlign? textAlign,
  9. Axis scrollAxis = Axis.horizontal,
  10. double ratioOfBlankToScreen = 0.25,
})

Implementation

const ScrollingText({
  required this.text,
  super.key,
  this.textStyle,
  this.maxLengthForScrolling = 10,
  this.color,
  this.height,
  this.width,
  this.textAlign,
  this.scrollAxis = Axis.horizontal,
  this.ratioOfBlankToScreen = 0.25,
});