ZoConnectivityWatcher class

Constructors

ZoConnectivityWatcher.new()
factory

Properties

connectivityController StreamController<ConnectivityWatcherStatus>
getter/setter pair
currentContext BuildContext
no setter
hashCode int
The hash code for this object.
no setterinherited
isInternetAvailable bool
getter/setter pair
isNoInternetWidgetVisible bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

hideNoInternet() Future<bool>
Use this method to forcefully hide the no internet widget The function hideNoInternet returns a Future
makeApiCall({required dynamic apiCall(bool internetStatus)}) → dynamic
The function makeApiCall checks for internet connection status and calls the provided API function with the status.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setNavigatorKey(GlobalKey<NavigatorState> key) → dynamic
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited