mounted property

  1. @override
  2. @nonVirtual
bool mounted
override

Whether this HookContext is still valid.

Usually this is true after the HookContext has been created and becomes false after it has been disposed. See useIsMounted to access this value outside the build.

Implementation

@override
@nonVirtual
bool get mounted => _mounted;