isMounted property

bool get isMounted

Whether this component is currently added to a component tree.

Implementation

bool get isMounted => (_state & _mounted) != 0;