SilText constructor

const SilText(
  1. String? data, {
  2. Key? key,
  3. int? maxLines = 1,
  4. TextOverflow? overflow = TextOverflow.ellipsis,
  5. double? textScaleFactor,
  6. TextStyle? style,
  7. TextAlign? textAlign,
  8. TextDirection? textDirection,
  9. Color? color,
  10. Color? backgroundColor,
  11. double? fontSize,
  12. FontWeight? fontWeight,
  13. double? lineHeight,
  14. String? fontFamily,
  15. EdgeInsetsGeometry? margin,
  16. double? width,
  17. double? height,
  18. 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);