isMounted property

bool get isMounted
inherited

Whether this component is currently added to a component tree.

Implementation

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