notifyRemovePainter method

void notifyRemovePainter(
  1. CPO painter
)

Implementation

void notifyRemovePainter(CPO painter) {
  if (_commitLayerRemoved(painter)) {
    painter.removeListener(_onSubPainterChanged);
    notifyListeners(); // 结构变动
  }
}