CartesianGrid constructor

CartesianGrid({
  1. required GridAxis xAxis,
  2. required GridAxis yAxis,
})

Implementation

CartesianGrid({
  required GridAxis xAxis,
  required GridAxis yAxis,
})  : _xAxis = xAxis..direction = Axis.horizontal,
      _yAxis = yAxis..direction = Axis.vertical;