ConnectivityBanner constructor

const ConnectivityBanner({
  1. Key? key,
  2. String? offlineMessage,
  3. String? slowMessage,
  4. String? captivePortalMessage,
  5. Color? offlineColor,
  6. Color? slowColor,
  7. Color? foregroundColor,
  8. bool showRetry = true,
  9. VoidCallback? onRetry,
  10. bool showForSlowConnection = true,
})

Implementation

const ConnectivityBanner({
  super.key,
  this.offlineMessage,
  this.slowMessage,
  this.captivePortalMessage,
  this.offlineColor,
  this.slowColor,
  this.foregroundColor,
  this.showRetry = true,
  this.onRetry,
  this.showForSlowConnection = true,
});