TransformText constructor

const TransformText(
  1. String text, {
  2. Key? key,
  3. TextStyle? style,
  4. TransformTextType type = TransformTextType.scrollUp,
  5. Curve curves = Curves.linear,
  6. Duration duration = const Duration(milliseconds: 500),
})

Implementation

const TransformText(
  this.text, {
  Key? key,
  this.style,
  this.type = TransformTextType.scrollUp,
  this.curves = Curves.linear,
  this.duration = const Duration(milliseconds: 500),
}) : super(key: key);