SundayMaterialText constructor

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

Creates a SundayMaterialText.

The text parameter must not be null.

Implementation

const SundayMaterialText({
  super.key,
  required this.text,
  this.style,
  this.textAlign,
  this.overflow,
  this.maxLines,
  this.textScaleFactor,
  Color? textColor,
});