AxisLine constructor Null safety

const AxisLine(
  1. {Color? color,
  2. List<double>? dashArray,
  3. double width = 1}
)

Creating an argument constructor of AxisLine class.

Implementation

const AxisLine({this.color, this.dashArray, this.width = 1});