ChatL10nEn constructor

const ChatL10nEn({
  1. dynamic attachmentButtonAccessibilityLabel = 'Send media',
  2. dynamic emptyChatPlaceholder = 'No messages here yet',
  3. dynamic fileButtonAccessibilityLabel = 'File',
  4. dynamic inputPlaceholder = 'Message',
  5. dynamic sendButtonAccessibilityLabel = 'Send',
  6. 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,
      );