TickkiChatStrings class

All user-facing copy in the drop-in chat widget. Override for i18n by passing a populated instance to TickkiChatWidget.show.

Defaults are English. Every field has a sensible English default so partial localization is fine — pass only the strings you've translated and the rest fall back.

Constructors

TickkiChatStrings({String title = 'Chat with us', String onlineLabel = 'Online', String offlineLabel = "We'll get back to you", String inputPlaceholder = 'Type a message…', String sendButton = 'Send', String attachButton = 'Attach file', String preChatTitle = 'Before we start', String preChatSubtitle = 'Tell us a bit about you so we can help.', String preChatNameLabel = 'Name', String preChatEmailLabel = 'Email', String preChatSubmit = 'Start chat', String errorGeneric = 'Something went wrong. Please try again.', String errorRateLimited = 'Too many messages too fast — slow down a bit and retry.', String errorNoConnection = "Can't reach the chat server. Check your connection.", String emptyHistory = 'Start the conversation. An agent will reply soon.', String typingIndicator = 'Agent is typing…'})
const

Properties

attachButton String
final
emptyHistory String
final
errorGeneric String
final
errorNoConnection String
final
errorRateLimited String
final
hashCode int
The hash code for this object.
no setterinherited
inputPlaceholder String
final
offlineLabel String
final
onlineLabel String
final
preChatEmailLabel String
final
preChatNameLabel String
final
preChatSubmit String
final
preChatSubtitle String
final
preChatTitle String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendButton String
final
title String
final
typingIndicator 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