invalidateStrokeEffects method Null safety

void invalidateStrokeEffects()
inherited

Called whenever the compound path for this shape is changed so that the effects can be invalidated on all the strokes.

Implementation

void invalidateStrokeEffects() {
  for (final stroke in strokes) {
    stroke.invalidateEffects();
  }
}