ModulaText constructor

const ModulaText({
  1. required String text,
  2. Key? key,
  3. TextStyle? style,
  4. TextAlign? textAlign,
  5. int? maxLines,
  6. TextOverflow? overflow,
  7. ModulaTextAnimationType animationType = ModulaTextAnimationType.none,
  8. Duration duration = const Duration(milliseconds: 500),
  9. Duration delay = Duration.zero,
  10. Curve curve = Curves.easeInOut,
  11. bool animate = true,
})

Implementation

const ModulaText({
  required this.text,
  super.key,
  this.style,
  this.textAlign,
  this.maxLines,
  this.overflow,
  this.animationType = ModulaTextAnimationType.none,
  this.duration = const Duration(milliseconds: 500),
  this.delay = Duration.zero,
  this.curve = Curves.easeInOut,
  this.animate = true,
});