ConnectivityMonitor constructor

const ConnectivityMonitor({
  1. Key? key,
  2. required Widget child,
  3. bool requiresConnection = true,
  4. bool useDialogAsConnectivityIndicator = true,
  5. bool useWidgetAsConnectivityIndicator = false,
  6. Widget? customDisconnectedWidget,
  7. Function? onConnected,
  8. Function? onDisconnected,
  9. Widget? customDialog,
  10. Widget? connectivityLoadingWidget,
})

Implementation

const ConnectivityMonitor({
  super.key,
  required this.child,
  this.requiresConnection = true,
  this.useDialogAsConnectivityIndicator = true,
  this.useWidgetAsConnectivityIndicator = false,
  this.customDisconnectedWidget,
  this.onConnected,
  this.onDisconnected,
  this.customDialog,
   this.connectivityLoadingWidget,
});