paintChanged method Null safety

void paintChanged()


void paintChanged() {

  // Add world transform dirt to the direct dependents (don't recurse) as
  // things like ClippingShape directly depend on their referenced Shape. This
  // allows them to recompute any stored values which can change when the
  // transformAffectsStroke property changes (whether the path is in world
  // space or not). Consider using a different dirt type if this pattern is
  // repeated.
  for (final d in dependents) {

  // Path composer needs to update if we update the types of paths we want.