AxisTitle constructor

AxisTitle({
  1. String? text,
  2. TextStyle? textStyle,
  3. ChartAlignment alignment = ChartAlignment.center,
})

Creating an argument constructor of AxisTitle class.

Implementation

AxisTitle(
    {this.text, this.textStyle, this.alignment = ChartAlignment.center});