CometChatCallLogsStyle class
CometChatCallLogsStyle is a data class that has styling-related properties for CometChatCallLogs This class is used to style CometChatCallLogs
CometChatCallLogsStyle(
backgroundColor: Colors.white,
border: Border.all(color: Colors.red),
borderRadius: BorderRadius.circular(10),
backIconColor: Colors.red,
titleTextStyle: TextStyle(fontSize: 16, fontWeight: FontWeight.bold),
titleTextColor: Colors.black,
emptyStateTextStyle: TextStyle(fontSize: 16, fontWeight: FontWeight.bold),
);
- Inheritance
-
- Object
- ThemeExtension<
CometChatCallLogsStyle> - CometChatCallLogsStyle
Constructors
- CometChatCallLogsStyle.new({Color? backgroundColor, Border? border, BorderRadiusGeometry? borderRadius, Color? backIconColor, TextStyle? titleTextStyle, Color? titleTextColor, TextStyle? emptyStateTextStyle, Color? emptyStateTextColor, TextStyle? errorStateTextStyle, Color? errorStateTextColor, TextStyle? emptyStateSubTitleTextStyle, Color? emptyStateSubTitleTextColor, TextStyle? errorStateSubTitleTextStyle, Color? errorStateSubTitleTextColor, TextStyle? itemTitleTextStyle, Color? itemTitleTextColor, Color? separatorColor, double? separatorHeight, CometChatAvatarStyle? avatarStyle, CometChatDateStyle? dateStyle, Color? retryButtonBackgroundColor, BorderSide? retryButtonBorder, BorderRadiusGeometry? retryButtonBorderRadius, Color? retryButtonTextColor, TextStyle? retryButtonTextStyle, Color? incomingCallIconColor, Color? outgoingCallIconColor, Color? missedCallIconColor, Color? audioCallIconColor, Color? videoCallIconColor})
-
const
Properties
- audioCallIconColor → Color?
-
audioCallIconColor audio call icon color
final
- avatarStyle → CometChatAvatarStyle?
-
avatarStyle set style for avatar
final
- backgroundColor → Color?
-
backgroundColor provides background color for the widget
final
- backIconColor → Color?
-
backIconColor provides color for the back icon
final
- border → Border?
-
border provides border for the widget
final
- borderRadius → BorderRadiusGeometry?
-
borderRadius provides border radius for the widget
final
- dateStyle → CometChatDateStyle?
-
dateStyle provides styling for CometChatDate
final
- emptyStateSubTitleTextColor → Color?
-
emptyStateSubTitleTextColor provides text color for empty state
final
- emptyStateSubTitleTextStyle → TextStyle?
-
emptyStateSubTitleTextStyle provides text style for empty state
final
- emptyStateTextColor → Color?
-
emptyStateTextColor provides text color for empty state
final
- emptyStateTextStyle → TextStyle?
-
emptyStateTextStyle provides text style for empty state
final
- errorStateSubTitleTextColor → Color?
-
errorStateSubTitleTextColor provides sub-title text color for error state
final
- errorStateSubTitleTextStyle → TextStyle?
-
errorStateTextStyle provides sub-title text style for error state
final
- errorStateTextColor → Color?
-
errorStateTextColor provides text color for error state
final
- errorStateTextStyle → TextStyle?
-
errorStateTextStyle provides text style for error state
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- incomingCallIconColor → Color?
-
incomingCallIconColor incoming call icon color
final
- itemTitleTextColor → Color?
-
itemTitleTextColor provides text color for item tile title
final
- itemTitleTextStyle → TextStyle?
-
itemTitleTextStyle provides text style for item tile title
final
- missedCallIconColor → Color?
-
missedCallIconColor missed call icon color
final
- outgoingCallIconColor → Color?
-
outgoingCallIconColor outgoing call icon color
final
- retryButtonBackgroundColor → Color?
-
retryButtonBackgroundColor provides background color for retry button
final
- retryButtonBorder → BorderSide?
-
retryButtonBorder provides border for retry button
final
- retryButtonBorderRadius → BorderRadiusGeometry?
-
retryButtonBorderRadius provides border radius for retry button
final
- retryButtonTextColor → Color?
-
retryButtonTextColor provides text color for retry button
final
- retryButtonTextStyle → TextStyle?
-
retryButtonTextStyle provides text style for retry button
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- separatorColor → Color?
-
separatorColor provides color for the separator
final
- separatorHeight → double?
-
separatorHeight provides height for the separator
final
- titleTextColor → Color?
-
titleTextColor provides text color for the title
final
- titleTextStyle → TextStyle?
-
title
provides title for the widgetfinal - type → Object
-
The extension's type.
no setterinherited
- videoCallIconColor → Color?
-
videoCallIconColor video call icon color
final
Methods
-
copyWith(
{Color? backgroundColor, Border? border, BorderRadiusGeometry? borderRadius, Color? backIconColor, TextStyle? titleTextStyle, Color? titleTextColor, TextStyle? emptyStateTextStyle, Color? emptyStateTextColor, TextStyle? errorStateTextStyle, Color? errorStateTextColor, TextStyle? emptyStateSubTitleTextStyle, Color? emptyStateSubTitleTextColor, TextStyle? errorStateSubTitleTextStyle, Color? errorStateSubTitleTextColor, TextStyle? itemTitleTextStyle, Color? itemTitleTextColor, double? separatorHeight, Color? separatorColor, CometChatAvatarStyle? messageBubbleAvatarStyle, CometChatDateStyle? dateStyle, Color? retryButtonBackgroundColor, Color? retryButtonTextColor, TextStyle? retryButtonTextStyle, BorderSide? retryButtonBorder, BorderRadiusGeometry? retryButtonBorderRadius, Color? incomingCallIconColor, Color? outgoingCallIconColor, Color? missedCallIconColor, Color? audioCallIconColor, Color? videoCallIconColor}) → CometChatCallLogsStyle -
Creates a copy of this theme extension with the given fields
replaced by the non-null parameter values.
override
-
lerp(
covariant ThemeExtension< CometChatCallLogsStyle> ? other, double t) → CometChatCallLogsStyle -
Linearly interpolate with another ThemeExtension object.
override
-
merge(
CometChatCallLogsStyle? style) → CometChatCallLogsStyle -
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) → CometChatCallLogsStyle