TextX.bodyLarge constructor

TextX.bodyLarge(
  1. String text, {
  2. Key? key,
  3. Color? color,
  4. FontWeight? weight,
  5. double? height,
  6. int? maxLines,
  7. bool? softWrap,
  8. TextOverflow? overflow,
  9. TextAlign? textAlign,
})

Implementation

TextX.bodyLarge(
  this.text, {
  super.key,
  this.color,
  this.weight,
  this.height,
  this.maxLines,
  this.softWrap,
  this.overflow,
  this.textAlign,
})  : style = Theme.of(Get.context!).textTheme.bodyLarge,
      size = 16.sp;