ModulaText constructor
const
ModulaText({
- required String text,
- Key? key,
- TextStyle? style,
- TextAlign? textAlign,
- int? maxLines,
- TextOverflow? overflow,
- ModulaTextAnimationType animationType = ModulaTextAnimationType.none,
- Duration duration = const Duration(milliseconds: 500),
- Duration delay = Duration.zero,
- Curve curve = Curves.easeInOut,
- 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,
});