all static method

List<ChartLayer> all({
  1. required GridLineBuilder horizontalLineBuilder,
  2. required GridLineBuilder verticalLineBuilder,
})

Creates a list with new instances of ChartHorizontalGridLineLayer and ChartVerticalGridLineLayer.

Implementation

static List<ChartLayer> all({
  required GridLineBuilder horizontalLineBuilder,
  required GridLineBuilder verticalLineBuilder,
}) =>
    [
      ChartHorizontalGridLineLayer(horizontalLineBuilder),
      ChartVerticalGridLineLayer(verticalLineBuilder),
    ];