onRemoved property

EventStream<Event> onRemoved

Dispatched when a display object is about to be removed from the display list.

Two methods of the DisplayObjectContainer class generate this event:

The following methods of a DisplayObjectContainer object also generate this event if an object must be removed to make room for the object:

Implementation

EventStream<Event> get onRemoved =>
    DisplayObject.removedEvent.forTarget(this);