SeniorText constructor

SeniorText(
  1. String content, {
  2. Key? key,
  3. bool emphasis = false,
  4. Color? color,
  5. Color? darkColor,
  6. TextStyle? style,
  7. TextProperties? textProperties,
  8. required Typographies typography,
})

Creates a text component.

The typography parameter is required.

Implementation

SeniorText(
  this.content, {
  Key? key,
  this.emphasis = false,
  this.color,
  this.darkColor,
  this.style,
  this.textProperties,
  required this.typography,
}) : super(key: key);