initColors method

  1. @override
void initColors()
override

Implementation

@override
void initColors() {
  setFill(colors: fillColors ?? [color]);

  setStroke(
    colors: strokeColors ?? [color],
    width: strokeWidth,
  );

  setBackgroundStroke(
    colors: backgroundStrokeColors,
    width: backgroundStrokeWidth,
  );
}