getStrokeColors method

List<Color> getStrokeColors({
  1. bool background = false,
})

Implementation

List<Color> getStrokeColors({bool background = false}) {
  var colors = background ? backgroundStrokeColors : strokeColors;

  if (colors == null || colors.isEmpty) {
    colors = [TRANSPARENT];
  }

  return colors;
}