childRemoved method
Implementation
@override
void childRemoved(Component child) {
super.childRemoved(child);
// Make sure to clean up any references so that they can be garbage
// collected.
if (child is ShapePaintMutator &&
_paintMutator == child as ShapePaintMutator) {
_changeMutator(null);
}
}