setColor method

  1. @override
void setColor({
  1. required Color color,
  2. bool family = true,
})
override

Implementation

@override
void setColor({required Color color, bool family = true}) {
  if (family) {
    setStroke(color: color, family: false);
    setFill(color: TRANSPARENT, family: false);
  }

  super.setColor(color: color, family: family);
}