ThorText constructor

const ThorText({
  1. Key? key,
  2. required String text,
  3. TextAlign? textAlign = TextAlign.start,
  4. Color? color,
  5. FontWeight? fontWeight,
  6. int? maxLines,
  7. String? fontFamily,
  8. bool? softWrap,
  9. double? fontSize,
})

Implementation

const ThorText(
    {Key? key,
    required this.text,
    this.textAlign = TextAlign.start,
    this.color,
    this.fontWeight,
    this.maxLines,
    this.fontFamily,
    this.softWrap,
    this.fontSize})
    : super(key: key);