MessageFieldOptions class

Annotations
  • @JS()
  • @anonymous

Constructors

MessageFieldOptions()
factory

Properties

enterSendsMessage bool?
If set to true, pressing the enter key sends the message (if there is text in the message field). When set to false, the only way to send a message is by clicking or touching the "Send" button. Defaults to true.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
placeholder String?
Overrides the "placeholder" in the message field, which displays a dimmed text when no text has yet been entered.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spellcheck bool?
Specifies whether the {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-spellcheck | spellcheck} attribute is set on the message field. Note that setting this to true may also enable autocorrect on some mobile devices. Defaults to false.
getter/setter pair
visible ↔ dynamic
Determines whether the message field is visible. Pass either a boolean (false to hide it), or a {@link ConversationPredicate}. The latter approach lets you show/hide the message field based on properties of the current conversation.
getter/setter pair

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