TextX.headlineLarge constructor

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

Implementation

TextX.headlineLarge(
  this.text, {
  super.key,
  this.color,
  this.weight,
  this.height,
  this.maxLines = 1,
  this.softWrap = false,
  this.overflow = TextOverflow.ellipsis,
  this.textAlign,
})  : style = Theme.of(Get.context!).textTheme.headlineLarge,
      size = 26.sp;