NoInternetScreen constructor

const NoInternetScreen(
  1. {required ConnectivityDisplayType connectivityDisplayType,
  2. String titleText = 'No internet',
  3. String underTitleText = 'It seems like you don\'t have an active internet ' 'connection. Please check your network and try again.',
  4. TextStyle? titleTextStyle,
  5. TextStyle? underTitleTextStyle,
  6. double titleSpacer = 8,
  7. Widget? title,
  8. Widget? underTitle,
  9. Color? backgroundColor,
  10. double horinzontalPadding = 16,
  11. AlignmentGeometry? alignment,
  12. ShapeBorder? shape,
  13. EdgeInsetsGeometry? contentPadding,
  14. EdgeInsets? insetPadding,
  15. Widget? closeButtonBuilder,
  16. Key? key}
)

Implementation

const NoInternetScreen({
  required this.connectivityDisplayType,
  this.titleText = 'No internet',
  this.underTitleText = 'It seems like you don\'t have an active internet '
      'connection. Please check your network and try again.',
  this.titleTextStyle,
  this.underTitleTextStyle,
  this.titleSpacer = 8,
  this.title,
  this.underTitle,
  this.backgroundColor,
  this.horinzontalPadding = 16,
  this.alignment,
  this.shape,
  this.contentPadding,
  this.insetPadding,
  this.closeButtonBuilder,
  super.key,
});