vector_map_flutter icon indicating copy to clipboard operation
vector_map_flutter copied to clipboard

Bug in MapGradientTheme - the step range of the gradient increases with every iteration

Open StephanBrummack opened this issue 2 years ago • 0 comments

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.

StephanBrummack avatar Jun 14 '23 05:06 StephanBrummack