childRemoved method

  1. @override
void childRemoved(
  1. Component child
)

Implementation

@override
void childRemoved(Component child) {
  super.childRemoved(child);
  if (child is GradientStop && gradientStops.contains(child)) {
    gradientStops.remove(child);
    markStopsDirty();
  }
}