ChartTextStyle constructor
ChartTextStyle({
- String color = 'black',
- FontStyle? fontStyle = FontStyle.normal,
- FontWeight? fontWeight = FontWeight.normal,
- String? fontFamily = 'sans-serif',
- double? fontSize = 12.0,
- Align? align = Align.middle,
- Align? verticalAlign = Align.middle,
- double? lineHeight = 1.2,
- String? backgroundColor = 'transparent',
- String? borderColor = 'black',
- double? borderWidth = 0.0,
- double? borderRadius = 0.0,
- 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,
});