TextScroll constructor
const
TextScroll(- String text,
- {Key? key,
- TextStyle? style,
- TextAlign? textAlign,
- TextDirection textDirection = TextDirection.ltr,
- int? numberOfReps,
- Duration? delayBefore,
- Duration? pauseBetween,
- Duration? pauseOnBounce,
- TextScrollMode mode = TextScrollMode.endless,
- Velocity velocity = const Velocity(pixelsPerSecond: Offset(80, 0)),
- bool selectable = false,
- int? intervalSpaces,
- bool fadedBorder = false,
- double? fadedBorderWidth = 0.2,
- FadeBorderSide fadeBorderSide = FadeBorderSide.both,
- FadeBorderVisibility fadeBorderVisibility = FadeBorderVisibility.auto}
)
Implementation
const TextScroll(
this.text, {
Key? key,
this.style,
this.textAlign,
this.textDirection = TextDirection.ltr,
this.numberOfReps,
this.delayBefore,
this.pauseBetween,
this.pauseOnBounce,
this.mode = TextScrollMode.endless,
this.velocity = const Velocity(pixelsPerSecond: Offset(80, 0)),
this.selectable = false,
this.intervalSpaces,
this.fadedBorder = false,
this.fadedBorderWidth = 0.2,
this.fadeBorderSide = FadeBorderSide.both,
this.fadeBorderVisibility = FadeBorderVisibility.auto,
}) : super(key: key);