NoInternetScreen constructor
const
NoInternetScreen(- {required ConnectivityDisplayType connectivityDisplayType,
- String titleText = 'No internet',
- String underTitleText = 'It seems like you don\'t have an active internet ' 'connection. Please check your network and try again.',
- TextStyle? titleTextStyle,
- TextStyle? underTitleTextStyle,
- double titleSpacer = 8,
- Widget? title,
- Widget? underTitle,
- Color? backgroundColor,
- double horinzontalPadding = 16,
- AlignmentGeometry? alignment,
- ShapeBorder? shape,
- EdgeInsetsGeometry? contentPadding,
- EdgeInsets? insetPadding,
- Widget? closeButtonBuilder,
- 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,
});