ChatL10nEn constructor
const
ChatL10nEn({
- dynamic attachmentButtonAccessibilityLabel = 'Send media',
- dynamic emptyChatPlaceholder = 'No messages here yet',
- dynamic fileButtonAccessibilityLabel = 'File',
- dynamic inputPlaceholder = 'Message',
- dynamic sendButtonAccessibilityLabel = 'Send',
- dynamic unreadMessagesLabel = 'Unread messages',
Creates English l10n. Use this constructor if you want to override only a couple of properties, otherwise create a new class which extends ChatL10n
Implementation
const ChatL10nEn({
attachmentButtonAccessibilityLabel = 'Send media',
emptyChatPlaceholder = 'No messages here yet',
fileButtonAccessibilityLabel = 'File',
inputPlaceholder = 'Message',
sendButtonAccessibilityLabel = 'Send',
unreadMessagesLabel = 'Unread messages',
}) : super(
attachmentButtonAccessibilityLabel:
attachmentButtonAccessibilityLabel,
emptyChatPlaceholder: emptyChatPlaceholder,
fileButtonAccessibilityLabel: fileButtonAccessibilityLabel,
inputPlaceholder: inputPlaceholder,
sendButtonAccessibilityLabel: sendButtonAccessibilityLabel,
unreadMessagesLabel: unreadMessagesLabel,
);