SundayText constructor

const SundayText(
  1. String data, {
  2. Key? key,
  3. required Style style,
  4. TextStyle? textStyle,
  5. TextAlign? textAlign,
  6. TextOverflow? overflow,
  7. int? maxLines,
  8. double? textScaleFactor,
  9. Color? textColor,
})

Creates a SundayText widget.

The data parameter is the text to display, and style is required.

Implementation

const SundayText(
  this.data, {
  super.key,
  required this.style,
  this.textStyle,
  this.textAlign,
  this.overflow,
  this.maxLines,
  this.textScaleFactor,
  this.textColor,
});