TextX.bodySmall constructor
TextX.bodySmall(
- String text, {
- Key? key,
- Color? color,
- FontWeight? weight,
- double? height,
- int? maxLines,
- bool? softWrap,
- TextOverflow? overflow,
- TextAlign? textAlign,
Implementation
TextX.bodySmall(
this.text, {
super.key,
this.color,
this.weight,
this.height,
this.maxLines,
this.softWrap,
this.overflow,
this.textAlign,
}) : style = Theme.of(Get.context!).textTheme.bodySmall,
size = 12.sp;