ChatL10n class abstract
Base chat l10n containing all required properties to provide localized copy. Extend this class if you want to create a custom l10n.
- Implementers
- Annotations
Constructors
- ChatL10n({required String attachmentButtonAccessibilityLabel, required String emptyChatPlaceholder, required String fileButtonAccessibilityLabel, required String inputPlaceholder, required String sendButtonAccessibilityLabel, required String unreadMessagesLabel})
-
Creates a new chat l10n based on provided copy.
const
Properties
- attachmentButtonAccessibilityLabel → String
-
Accessibility label (hint) for the attachment button.
final
- emptyChatPlaceholder → String
-
Placeholder when there are no messages.
final
- fileButtonAccessibilityLabel → String
-
Accessibility label (hint) for the tap action on file message.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inputPlaceholder → String
-
Placeholder for the text field.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sendButtonAccessibilityLabel → String
-
Accessibility label (hint) for the send button.
final
- unreadMessagesLabel → String
-
Label for the unread messages header.
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