AxisLabelRenderDetails constructor Null safety

AxisLabelRenderDetails(
  1. num value,
  2. String text,
  3. String actualText,
  4. TextStyle textStyle,
  5. ChartAxis axis,
  6. String? axisName,
  7. AxisOrientation orientation
)

Creating an argument constructor of AxisLabelRenderDetails class.

Implementation

AxisLabelRenderDetails(this.value, this.text, this.actualText, this.textStyle,
    this.axis, this.axisName, this.orientation);