CustomText constructor

const CustomText({
  1. String? tag,
  2. String? text,
  3. TextStyle? style,
  4. double fontSize = 15,
  5. FontWeight fontWeight = FontWeight.normal,
  6. Color? color,
  7. int maxLines = 1,
  8. TextAlign align = TextAlign.start,
  9. Key? key,
})

Implementation

const CustomText({
  this.tag,
  this.text,
  this.style,
  this.fontSize = 15,
  this.fontWeight = FontWeight.normal,
  this.color,
  this.maxLines = 1,
  this.align = TextAlign.start,
  Key? key,
}) : super(key: key);