CustomText constructor
const
CustomText(
- String text, {
- Key? key,
- Color? color,
- double? fontSize,
- FontWeight? fontWeight,
- FontStyle? fontStyle,
- TextDecoration? decoration,
- TextOverflow? overflow,
- int? maxLines,
- double? height,
- TextAlign? textAlign,
- TextBaseline? textBaseline,
- String? fontFamily,
- TextWidthBasis? textWidthBasis,
- Locale? locale,
- bool? softWrap,
- bool? useShadow = false,
Implementation
const CustomText(
this.text, {
super.key,
this.color,
this.fontSize,
this.fontWeight,
this.fontStyle,
this.decoration,
this.overflow,
this.maxLines,
this.height,
this.textAlign,
this.textBaseline,
this.fontFamily,
this.textWidthBasis,
this.locale,
this.softWrap,
this.useShadow = false,
});