TypingIndicatorOptions class

Annotations

Constructors

TypingIndicatorOptions({Duration animationSpeed = const Duration(milliseconds: 500), Widget? customTypingIndicator, TypingIndicatorMode typingMode = TypingIndicatorMode.name, List<User> typingUsers = const [], Widget? customTypingWidget, Widget customTypingIndicatorBuilder({required BubbleRtlAlignment bubbleAlignment, required BuildContext context, required bool indicatorOnScrollStatus, required TypingIndicatorOptions options})?, Widget typingWidgetBuilder({required BuildContext context, required TypingIndicatorMode mode, required TypingIndicator widget})?, Widget multiUserTextBuilder(BuildContext context, List<User> author, TextStyle? style)?})
const

Properties

animationSpeed Duration
Animation speed for circles. Defaults to 500 ms.
final
customTypingIndicator Widget?
Allows to set custom TypingIndicator.
final
customTypingIndicatorBuilder → (Widget Function({required BubbleRtlAlignment bubbleAlignment, required BuildContext context, required bool indicatorOnScrollStatus, required TypingIndicatorOptions options})?)
Allows to set custom builder TypingIndicator.
final
customTypingWidget Widget?
Allows to set custom TypingWidget.
final
hashCode int
The hash code for this object.
no setterinherited
multiUserTextBuilder → (Widget Function(BuildContext context, List<User> author, TextStyle? style)?)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
typingMode TypingIndicatorMode
Typing mode for TypingIndicator. See TypingIndicatorMode.
final
typingUsers List<User>
Author(s) for TypingIndicator. By default its empty list which hides the indicator, see types.User.
final
typingWidgetBuilder → (Widget Function({required BuildContext context, required TypingIndicatorMode mode, required TypingIndicator widget})?)
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