DefText constructor

DefText(
  1. String text, {
  2. int? maxLine,
  3. Color color = Colors.black,
  4. double opacity = 1,
  5. FontStyle fontStyle = FontStyle.normal,
  6. FontWeight fontWeight = FontWeight.normal,
  7. TextAlign? textAlign,
})

Implementation

DefText(
  this.text, {
  this.maxLine,
  this.color = Colors.black,
  this.opacity = 1,
  this.fontStyle = FontStyle.normal,
  this.fontWeight = FontWeight.normal,
  this.textAlign,
});