IsMounted typedef Null safety

IsMounted = bool Function()

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

Implementation

typedef IsMounted = bool Function();