SilText constructor
const
SilText(
- String? data, {
- Key? key,
- int? maxLines = 1,
- TextOverflow? overflow = TextOverflow.ellipsis,
- double? textScaleFactor,
- TextStyle? style,
- TextAlign? textAlign,
- TextDirection? textDirection,
- Color? color,
- Color? backgroundColor,
- double? fontSize,
- FontWeight? fontWeight,
- double? lineHeight,
- String? fontFamily,
- EdgeInsetsGeometry? margin,
- double? width,
- double? height,
- AlignmentGeometry? alignment,
Implementation
const SilText(this.data,
{Key? key,
this.maxLines = 1,
this.overflow = TextOverflow.ellipsis,
this.textScaleFactor,
this.style,
this.textAlign,
this.textDirection,
this.color,
this.backgroundColor,
this.fontSize,
this.fontWeight,
this.lineHeight,
this.fontFamily,
this.margin,
this.width,
this.height,
this.alignment})
: super(key: key);