TextLayoutModel constructor

TextLayoutModel(
  1. String text,
  2. {Color textColor = Colors.black,
  3. Color textBackgroundColor = Colors.transparent,
  4. double textSize = 14.0,
  5. TextLayoutBackgroundModel backgroundModel = TextLayoutBackgroundModel.rrect,
  6. double backGroundRadius = 8,
  7. Border border,
  8. bool isTextColorRandom = false,
  9. Icon icon,
  10. Image imag,
  11. bool isShowCirPoint = false}
)

Implementation

TextLayoutModel(this.text, {this.textColor=Colors.black, this.textBackgroundColor=Colors.transparent,
    this.textSize=14.0, this.backgroundModel=TextLayoutBackgroundModel.rrect,this.backGroundRadius=8,
  this.border,this.isTextColorRandom=false,this.icon,this.imag,this.isShowCirPoint=false,});