AxisTitle constructor
AxisTitle({
- String? text,
- TextStyle? textStyle,
- ChartAlignment alignment = ChartAlignment.center,
Creating an argument constructor of AxisTitle class.
Implementation
AxisTitle(
{this.text, TextStyle? textStyle, this.alignment = ChartAlignment.center})
: textStyle = getTextStyle(
textStyle: textStyle,
fontFamily: 'Segoe UI',
fontSize: 15.0,
fontStyle: FontStyle.normal,
fontWeight: FontWeight.normal);