mounted property

bool get mounted

Whether this State object is currently in a tree.

Implementation

bool get mounted => _context != null;