RotateAnimatedSplashScreenText constructor
RotateAnimatedSplashScreenText(
- String text, {
- TextAlign textAlign = TextAlign.start,
- TextStyle? textStyle,
- Duration duration = const Duration(milliseconds: 2000),
- double? transitionHeight,
- AlignmentGeometry alignment = Alignment.center,
- TextDirection textDirection = TextDirection.ltr,
Controls whether the text:
- rotates in and out (true), or
- just rotates in (false).
Note that you may want to adjust the duration
when mixing
RotateAnimatedText instances with mixed rotateOut
values.
By default, it is set to true.
Implementation
RotateAnimatedSplashScreenText(
String text, {
TextAlign textAlign = TextAlign.start,
TextStyle? textStyle,
Duration duration = const Duration(milliseconds: 2000),
this.transitionHeight,
this.alignment = Alignment.center,
this.textDirection = TextDirection.ltr,
}) : super(
text: text,
textAlign: textAlign,
textStyle: textStyle,
duration: duration,
);