DisplayConfigForStatusType class

The configuration for the display of each status type in ConnectivityDisplay widget is used

Constructors

DisplayConfigForStatusType.new({bool display = true, bool showPingValue = false, bool showErrorMessage = false, Color iconColor = Colors.white, required String message, required Icon icon})
const
DisplayConfigForStatusType.goodConnection({bool display = true, bool showPingValue = false, bool showErrorMessage = false, Color iconColor = Colors.white, String message = 'Low Ping', Icon icon = const Icon(Icons.signal_cellular_alt)})
const
DisplayConfigForStatusType.hasNetworkButNoConnection({bool display = true, bool showPingValue = false, bool showErrorMessage = true, Color iconColor = Colors.white, String message = 'Server Unreachable', Icon icon = const Icon(Icons.signal_cellular_connected_no_internet_4_bar)})
const
DisplayConfigForStatusType.offline({bool display = true, bool showPingValue = false, bool showErrorMessage = false, Color iconColor = Colors.white, String message = 'No Network', Icon icon = const Icon(Icons.signal_cellular_off)})
const
DisplayConfigForStatusType.okConnection({bool display = true, bool showPingValue = false, bool showErrorMessage = false, Color iconColor = Colors.white, String message = 'Medium Ping', Icon icon = const Icon(Icons.signal_cellular_alt_2_bar)})
const
DisplayConfigForStatusType.poorConnection({bool display = true, bool showPingValue = false, bool showErrorMessage = false, Color iconColor = Colors.white, String message = 'High Ping', Icon icon = const Icon(Icons.signal_cellular_alt_1_bar)})
const

Properties

display bool
final
hashCode int
The hash code for this object.
no setterinherited
icon Icon
final
iconColor Color
final
message String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showErrorMessage bool
final
showPingValue bool
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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