NoInternetScreen class

Standard screen to use as fallback.

Inheritance

Constructors

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})
const

Properties

alignment → AlignmentGeometry?
Alignment for alert dialog.
final
backgroundColor → Color?
Color of the background. If null the background of the colorScheme is used.
final
closeButtonBuilder → Widget?
Builder for close button. Can be used in case of dismissible pop up.
final
connectivityDisplayType → ConnectivityDisplayType
Enum to determine which fallback widget to use.
final
contentPadding → EdgeInsetsGeometry?
Content padding for alert dialog.
final
hashCode → int
The hash code for this object.
no setterinherited
horinzontalPadding → double
Padding for the text on the horinzontal sides.
final
insetPadding → EdgeInsets?
Inset padding for alert dialog.
final
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shape → ShapeBorder?
Shape for alert dialog.
final
title → Widget?
Widget to override the standard title.
final
titleSpacer → double
Height between the title and under title.
final
titleText → String
Text of the title. Overridden if title is set.
final
titleTextStyle → TextStyle?
Textstyle of the title. Overridden if title is set.
final
underTitle → Widget?
Widget to override the standard under title.
final
underTitleText → String
Text of the under title. Overridden if underTitle is set.
final
underTitleTextStyle → TextStyle?
Textstyle of the under title. Overridden if underTitle is set.
final

Methods

createElement() → StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → State<NoInternetScreen>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() → List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String
Returns a one-line detailed description of the object.
inherited
toStringShort() → String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited