CometChatTypingIndicatorStyle class
CometChatTypingIndicatorStyle is a style class that has styling-related properties for typing indicator
to customize the appearance of CometChatTypingIndicator
CometChatTypingIndicatorStyle(
textStyle: TextStyle(
color: Colors.white,
fontSize: 12,
fontWeight: FontWeight.bold,
),
);
- Inheritance
-
- Object
- ThemeExtension<
CometChatTypingIndicatorStyle> - CometChatTypingIndicatorStyle
Constructors
- CometChatTypingIndicatorStyle.new({TextStyle? textStyle})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textStyle → TextStyle?
-
textStyle gives style to the typing indicator to be displayed
final
- type → Object
-
The extension's type.
no setterinherited
Methods
-
copyWith(
{TextStyle? textStyle}) → CometChatTypingIndicatorStyle -
Creates a copy of this theme extension with the given fields
replaced by the non-null parameter values.
override
-
lerp(
covariant ThemeExtension< CometChatTypingIndicatorStyle> ? other, double t) → CometChatTypingIndicatorStyle -
Linearly interpolate with another ThemeExtension object.
override
-
merge(
CometChatTypingIndicatorStyle? style) → CometChatTypingIndicatorStyle -
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
Static Methods
-
of(
BuildContext context) → CometChatTypingIndicatorStyle