IsMounted typedef

  1. @Deprecated("Use BuildContext.mounted instead if you're on Flutter 3.7.0 or greater")
IsMounted = bool Function()

Used by useIsMounted to allow widgets to determine if the Widget is still in the widget tree or not.

Implementation

@Deprecated(
  "Use BuildContext.mounted instead if you're on Flutter 3.7.0 or greater",
)
typedef IsMounted = bool Function();