ZoConnectivityController class

Properties

checker ↔ InternetConnectionChecker
getter/setter pair
contextKey GlobalKey<NavigatorState>
no setter
currentContext BuildContext?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isAlertActive bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getConnectivityStatus() Future<bool>
Get status of conncetion
hideNoInternetScreen() Future<bool>
removes the no internet screen when internet comes back
isInternetBack({required dynamic internetStatus(bool)}) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setupConnectivityListner({CustomNoInternetWrapper? offlineWidget, GlobalKey<NavigatorState>? navigatorKey, NoConnectivityStyle? connectivityStyle = NoConnectivityStyle.SNACKBAR, Widget? customAlert}) → dynamic
showNoInternet() → dynamic
Responsible for getting the current context from the tree and draw the custom widget
showPlatformAlert() → dynamic
showSnackBar(BuildContext context) → void
Shows Snackbar
toString() String
A string representation of this object.
inherited

Operators

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