NoInternetConnection constructor

const NoInternetConnection({
  1. Key? key,
  2. String title = 'No internet connection',
  3. String contentText = 'Check your internet connection and try again',
  4. VoidCallback? onRetryPressed,
  5. VoidCallback? onBackPressed,
  6. String retryButtonText = 'Try again',
  7. String backButtonText = 'Go back',
  8. PreferredSize? appBar,
  9. bool useSafeArea = false,
})

Implementation

const NoInternetConnection({
  super.key,
  this.title = 'No internet connection',
  this.contentText = 'Check your internet connection and try again',
  this.logo,
  this.onRetryPressed,
  this.onBackPressed,
  this.retryButtonText = 'Try again',
  this.backButtonText = 'Go back',
  this.appBar,
  this.useSafeArea = false,
});