ConnectivityAwareWidget constructor

const ConnectivityAwareWidget({
  1. Key? key,
  2. required Widget child,
  3. Future<void> onConnected()?,
  4. Future<void> onDisconnected()?,
  5. Future<void> onRetry()?,
  6. Widget? noInternetWidget,
  7. bool showLocalNoInternet = false,
})

Implementation

const ConnectivityAwareWidget({
  super.key,
  required this.child,
  this.onConnected,
  this.onDisconnected,
  this.onRetry,
  this.noInternetWidget,
  this.showLocalNoInternet = false,
});