FastConnectivityStatusPage class

A page widget that displays an error status with an optional title, description, and buttons.

Inheritance

Constructors

FastConnectivityStatusPage.new({Key? key, String? titleText, String? cancelButtonText, String? descriptionText, Color? backgroundColor, VoidCallback? onCancelTap, Color? iconColor, FastPaletteScheme? palette, Widget? icon, String? subTitleText, VoidCallback? onRetryTap, String? retryButtonText, bool hasConnection = false})
Creates a FastConnectivityStatusPage.
const

Properties

backgroundColor Color?
The background color of the page.
finalinherited
cancelButtonText String?
The text to be displayed on the cancel button.
finalinherited
child Widget?
finalinherited
descriptionText String?
The text to be displayed as the description.
finalinherited
hasConnection bool
final
hashCode int
The hash code for this object.
no setterinherited
icon Widget?
The icon to be displayed on the page.
finalinherited
iconColor Color?
The color of the icon.
finalinherited
isValidButtonPending bool
finalinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onCancelTap VoidCallback?
A callback function when the cancel button is tapped.
finalinherited
onValidTap VoidCallback?
A callback function when the valid button is tapped.
finalinherited
palette FastPaletteScheme?
The color scheme to be used for the widgets.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subTitleText String?
finalinherited
titleText String?
The text to be displayed as the title.
finalinherited
validButtonText String?
The text to be displayed on the valid button.
finalinherited

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
buildActions(BuildContext context, FastMediaType mediaType) Widget
inherited
buildCancelButton() Widget
Builds the widget for the cancel button.
inherited
buildContent() Widget
Builds the widget for the content.
inherited
buildIcon() Widget
Builds the widget for the icon.
inherited
buildLayout(BuildContext context, FastMediaType mediaType) Widget
inherited
buildTitle() Widget
Builds the widget for the title.
inherited
buildValidButton() Widget
Builds the widget for the valid button.
inherited
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
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, int wrapWidth = 65}) 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