JidoujishoMarquee constructor
- {required String text,
- TextStyle? style,
- double? textScaleFactor,
- TextDirection textDirection = TextDirection.ltr,
- Axis scrollAxis = Axis.horizontal,
- CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
- double blankSpace = 20.0,
- double velocity = 30.0,
- Duration startAfter = Duration.zero,
- Duration pauseAfterRound = Duration.zero,
- bool showFadingOnlyWhenScrolling = true,
- double fadingEdgeStartFraction = 0.0,
- double fadingEdgeEndFraction = 0.0,
- int? numberOfRounds,
- double startPadding = 0.0,
- Duration accelerationDuration = Duration.zero,
- Curve accelerationCurve = Curves.decelerate,
- Duration decelerationDuration = Duration.zero,
- Curve decelerationCurve = Curves.decelerate,
- VoidCallback? onDone,
- 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,
});