EbchatStrings class

Minimal en/ar string set for the guest chat surface. A small, complete bundle — enough to run the widget; a host can supply overrides.

Constructors

EbchatStrings({required String composerHint, required String send, required String conversationClosed, required String startNewConversation, required String poweredBy, required String typing, required String today, required String yesterday, required String loadEarlier, required String addToCart, required String addedToCart, required String viewItems, required String catalog, required String cart, required String cartEmpty, required String total, required String sendOrder, required String orderSummary, required String searchProducts, required String outOfStock, required String typeYourAnswer, required String shareLocation, required String uploadPhoto, required String attachFile, required String skip, required String locationUnavailable, required String uploadFailed, required String reply, required String you, required String message, required String photo, required String video, required String voiceNote, String pause = 'Pause', String resume = 'Resume', String paused = 'Paused', String micUnavailable = 'Microphone unavailable — check app permissions.', String recordingFailed = "Couldn't save that recording. Please try again.", String doneRecording = 'Done — review before sending', String notSent = 'Not sent — tap to retry', String reconnecting = 'Reconnecting…', String couldNotSend = "Couldn't send. Please try again.", String couldNotConnect = "Couldn't connect. Check your connection and try again.", String tryAgain = 'Try again', String copy = 'Copy', String copied = 'Copied', String couldNotLoadCatalog = "Couldn't load the catalog.", String hintShareLocation = 'Share your location or type the address…', String hintAttachPhoto = 'Attach a photo, or type your answer…', String discardRecording = 'Discard recording', String messageNotFound = 'Original message unavailable', String jumpToLatest = 'Jump to latest', String newMessages = 'New messages', bool rtl = false, required String file, required String locationLabel})
const

Properties

addedToCart String
final
addToCart String
final
attachFile String
final
cart String
final
cartEmpty String
final
catalog String
final
composerHint String
final
conversationClosed String
final
copied String
final
copy String
final
couldNotConnect String
final
couldNotLoadCatalog String
final
couldNotSend String
final
direction TextDirection
no setter
discardRecording String
final
doneRecording String
final
file String
final
hashCode int
The hash code for this object.
no setterinherited
hintAttachPhoto String
final
hintShareLocation String
final
isRtl bool
no setter
jumpToLatest String
final
loadEarlier String
final
locationLabel String
final
locationUnavailable String
final
message String
final
messageNotFound String
final
micUnavailable String
final
newMessages String
final
notSent String
final
orderSummary String
final
outOfStock String
final
pause String
final
paused String
final
photo String
final
poweredBy String
final
reconnecting String
final
recordingFailed String
final
reply String
final
resume String
final
rtl bool
Right-to-left layout. A FIELD, deliberately: the old identity check (this == ar) meant any host-customised Arabic strings object rendered left-to-right.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchProducts String
final
send String
final
sendOrder String
final
shareLocation String
final
skip String
final
startNewConversation String
final
today String
final
total String
final
tryAgain String
final
typeYourAnswer String
final
typing String
final
uploadFailed String
final
uploadPhoto String
final
video String
final
viewItems String
final
voiceNote String
final
yesterday String
final
you String
final

Methods

fileTooLarge(int maxBytes) String
Rejection message for an attachment over the company's size limit.
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

Static Methods

forLanguage(String language) EbchatStrings

Constants

ar → const EbchatStrings
en → const EbchatStrings