isRemoved property

bool get isRemoved
inherited

Whether the component has been removed. Originally this flag is false, but it becomes true after the component was mounted and then removed from its parent. The flag becomes false again when the component is mounted to a new parent.

Implementation

bool get isRemoved => (_state & _removed) != 0;