CustomText constructor

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

Implementation

const CustomText({
  this.tag,
  this.text,
  this.style,
  this.fontSize = 10,
  this.fontWeight = FontWeight.normal,
  this.color = Colors.black,
  this.maxLines = 1,
  this.align = TextAlign.start,
});