TextX.headlineSmall constructor
TextX.headlineSmall(
- String text, {
- Key? key,
- Color? color,
- FontWeight? weight,
- double? height,
- int? maxLines = 1,
- bool? softWrap = false,
- TextOverflow? overflow = TextOverflow.ellipsis,
- TextAlign? textAlign,
Implementation
TextX.headlineSmall(
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.headlineSmall,
size = 24.sp;