DateTimeAxisRenderer constructor Null safety

DateTimeAxisRenderer(
  1. DateTimeAxis dateTimeAxis,
  2. CartesianStateProperties stateProperties
)

Creating an argument constructor of DateTimeAxisRenderer class.

Implementation

DateTimeAxisRenderer(
    DateTimeAxis dateTimeAxis, CartesianStateProperties stateProperties) {
  _axisDetails = DateTimeAxisDetails(dateTimeAxis, this, stateProperties);
  AxisHelper.setAxisRendererDetails(this, _axisDetails);
}