KText constructor

KText(
  1. String? title, {
  2. Key? key,
  3. double size = 16,
  4. TextAlign align = TextAlign.start,
  5. Color color = const Color(0xff000000),
  6. FontWeight fontWeight = FontWeight.normal,
  7. double? maxsize,
  8. List<double>? fontlist,
  9. double? minsize,
  10. int? maxline,
  11. TextOverflow textOverflow = TextOverflow.clip,
  12. bool isZH = false,
  13. TextDecoration? decoration,
})

Implementation

KText(this.title,
    {Key? key,
    this.size = 16,
    this.align = TextAlign.start,
    this.color = const Color(0xff000000),
    this.fontWeight = FontWeight.normal,
    this.maxsize,
    this.fontlist,
    this.minsize,
    this.maxline,
    this.textOverflow = TextOverflow.clip,
    this.isZH = false,
    this.decoration})
    : super(key: key);