RavenPayText.bodyText constructor

RavenPayText.bodyText(
  1. String text, {
  2. Key? key,
  3. Color? color,
  4. double? fontSize,
  5. TextAlign? align,
  6. int? maxLine,
  7. TextOverflow? overflow,
  8. String? fontFamily,
})

Implementation

RavenPayText.bodyText(
  this.text, {
  super.key,
  Color? color,
  double? fontSize,
  this.align,
  this.maxLine,
  this.overflow,
  this.fontFamily,
}) : style = bodyText.copyWith(fontSize: fontSize, color: color);