There seems to be a bug in the MapGradientTheme. line 96 of map_gradient_theme.dart `double currentStepRange = (stepIndex * stepSize) + stepSize;` should read `double currentStepRange = stepSize;` You can test it with 3 or more colors.
There seems to be a bug in the MapGradientTheme.
line 96 of map_gradient_theme.dart
double currentStepRange = (stepIndex * stepSize) + stepSize;should read
double currentStepRange = stepSize;You can test it with 3 or more colors.