ViewStateTexts class

Texts used by the default error views of WithViewState. Override any of them to localise the screen.

Constructors

ViewStateTexts({String retry = 'Retry', String noNetworkTitle = 'No connection', String noNetworkMessage = 'Check your connection and try again.', String noDataTitle = 'Nothing here yet', String noDataMessage = 'There is nothing to show.', String errorTitle = 'Something went wrong', String errorMessage = 'Please try again.', String unauthorizedTitle = 'Session expired', String unauthorizedMessage = 'Please sign in again.', String signIn = 'Sign in', String updateTitle = 'Update required', String updateMessage = 'Please update the app to continue.', String update = 'Update', String unsupportedTitle = 'Unsupported device', String unsupportedMessage = 'This device is not supported.'})
const

Properties

errorMessage → String
final
errorTitle → String
final
hashCode → int
The hash code for this object.
no setterinherited
noDataMessage → String
final
noDataTitle → String
final
noNetworkMessage → String
final
noNetworkTitle → String
final
retry → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
signIn → String
final
unauthorizedMessage → String
final
unauthorizedTitle → String
final
unsupportedMessage → String
final
unsupportedTitle → String
final
update → String
final
updateMessage → String
final
updateTitle → String
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