AxisTitle constructor

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

Creating an argument constructor of AxisTitle class.

Implementation

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