ConnectivityWatcher class
Constructors
- ConnectivityWatcher()
-
factory
Properties
- currentContext → BuildContext
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getConnectivityStatus(
) → Future< bool> - get current internet status
-
hideNoInternet(
) → Future< bool> - Use this method to forcefully hide the no internet widget
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
subscribeToConnectivityChange(
{required dynamic subscriptionCallback(Stream< ConnectivityWatcherStatus> stream)}) → dynamic -
subscriptionCallback
The method is use to subscribe to the internet changes method can be used to call apis on network changes -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited