TitlesData constructor

TitlesData({
  1. String? text,
  2. String? link,
  3. String? target,
  4. String? subtext,
  5. String? sublink,
  6. String? subtarget,
  7. String? textAlign,
  8. String? textVerticalAlign,
  9. String? textBaseline,
  10. String? subtextAlign,
  11. String? subtextVerticalAlign,
  12. String? subtextBaseline,
  13. String? backgroundColor,
  14. String? borderColor,
  15. double? borderWidth,
  16. double? borderRadius,
  17. double? padding,
  18. double? itemGap,
  19. ChartTextStyle? textStyle,
  20. ChartTextStyle? subtextStyle,
  21. Color? color,
  22. double? fontSize,
})

Implementation

TitlesData({
  this.text,
  this.link,
  this.target,
  this.subtext,
  this.sublink,
  this.subtarget,
  this.textAlign,
  this.textVerticalAlign,
  this.textBaseline,
  this.subtextAlign,
  this.subtextVerticalAlign,
  this.subtextBaseline,
  this.backgroundColor,
  this.borderColor,
  this.borderWidth,
  this.borderRadius,
  this.padding,
  this.itemGap,
  ChartTextStyle? textStyle,
  ChartTextStyle? subtextStyle,
  this.color,
  this.fontSize,
}) : textStyle = textStyle ?? ChartTextStyle(),
     subtextStyle = subtextStyle ?? ChartTextStyle();