JidoujishoMarquee constructor

const JidoujishoMarquee(
  1. {required String text,
  2. TextStyle? style,
  3. double? textScaleFactor,
  4. TextDirection textDirection = TextDirection.ltr,
  5. Axis scrollAxis = Axis.horizontal,
  6. CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
  7. double blankSpace = 20.0,
  8. double velocity = 30.0,
  9. Duration startAfter = Duration.zero,
  10. Duration pauseAfterRound = Duration.zero,
  11. bool showFadingOnlyWhenScrolling = true,
  12. double fadingEdgeStartFraction = 0.0,
  13. double fadingEdgeEndFraction = 0.0,
  14. int? numberOfRounds,
  15. double startPadding = 0.0,
  16. Duration accelerationDuration = Duration.zero,
  17. Curve accelerationCurve = Curves.decelerate,
  18. Duration decelerationDuration = Duration.zero,
  19. Curve decelerationCurve = Curves.decelerate,
  20. VoidCallback? onDone,
  21. Key? key}
)

Create a Marquee that handles the overflow effect.

Implementation

const JidoujishoMarquee({
  required this.text,
  this.style,
  this.textScaleFactor,
  this.textDirection = TextDirection.ltr,
  this.scrollAxis = Axis.horizontal,
  this.crossAxisAlignment = CrossAxisAlignment.center,
  this.blankSpace = 20.0,
  this.velocity = 30.0,
  this.startAfter = Duration.zero,
  this.pauseAfterRound = Duration.zero,
  this.showFadingOnlyWhenScrolling = true,
  this.fadingEdgeStartFraction = 0.0,
  this.fadingEdgeEndFraction = 0.0,
  this.numberOfRounds,
  this.startPadding = 0.0,
  this.accelerationDuration = Duration.zero,
  this.accelerationCurve = Curves.decelerate,
  this.decelerationDuration = Duration.zero,
  this.decelerationCurve = Curves.decelerate,
  this.onDone,
  super.key,
});