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