MyGrayText constructor

const MyGrayText(
  1. String? text, {
  2. Key? key,
  3. num size = 14.0,
  4. int grayLevel = 2,
  5. int lines = 1,
  6. int maxLen = 0,
  7. TextAlign? textAlign,
  8. bool hasLineThrough = false,
  9. FontWeight? weight,
})

Implementation

const MyGrayText(this.text,
    {Key? key,
    this.size = 14.0,
    this.grayLevel = 2,
    this.lines = 1,
    this.maxLen = 0,
    this.textAlign,
    this.hasLineThrough = false,
    this.weight})
    : super(key: key);