LogarithmicAxisRenderer constructor Null safety

LogarithmicAxisRenderer(
  1. LogarithmicAxis logarithmicAxis,
  2. CartesianStateProperties stateProperties
)

Creating an argument constructor of LogarithmicAxisRenderer class.

Implementation

LogarithmicAxisRenderer(LogarithmicAxis logarithmicAxis,
    CartesianStateProperties stateProperties) {
  _axisDetails =
      LogarithmicAxisDetails(logarithmicAxis, stateProperties, this);
  AxisHelper.setAxisRendererDetails(this, _axisDetails);
}