gridLine static method

Color gridLine(
  1. double alpha
)

A grid line at alpha of full strength, as the settings colour and strengthen it: gridLine(0.14) for a major line, drawn as before at the defaults.

Implementation

static Color gridLine(double alpha) => _s.gridColour.withValues(
  alpha: (alpha * _s.gridOpacity).clamp(0.0, 1.0).toDouble(),
);