ChartTextStyle constructor

ChartTextStyle({
  1. String color = 'black',
  2. FontStyle? fontStyle = FontStyle.normal,
  3. FontWeight? fontWeight = FontWeight.normal,
  4. String? fontFamily = 'sans-serif',
  5. double? fontSize = 12.0,
  6. Align? align = Align.middle,
  7. Align? verticalAlign = Align.middle,
  8. double? lineHeight = 1.2,
  9. String? backgroundColor = 'transparent',
  10. String? borderColor = 'black',
  11. double? borderWidth = 0.0,
  12. double? borderRadius = 0.0,
  13. double? padding = 0.0,
})

Implementation

ChartTextStyle({
  this.color = 'black',
  this.fontStyle = FontStyle.normal,
  this.fontWeight = FontWeight.normal,
  this.fontFamily = 'sans-serif',
  this.fontSize = 12.0,
  this.align = Align.middle,
  this.verticalAlign = Align.middle,
  this.lineHeight = 1.2,
  this.backgroundColor = 'transparent',
  this.borderColor = 'black',
  this.borderWidth = 0.0,
  this.borderRadius = 0.0,
  this.padding = 0.0,
});