CometChatCardContainerStyle class

Container-level styling extracted from the Card Schema's style field.

Returned alongside the rendered view so the consumer can apply it to a wrapper widget (e.g., a message bubble).

Constructors

CometChatCardContainerStyle({dynamic background, double? borderRadius, dynamic borderColor, double? borderWidth, CometChatCardPadding? padding, double? maxWidth, double? maxHeight, dynamic width, dynamic height})
const
CometChatCardContainerStyle.fromJson(Map<String, dynamic> json)
factory

Properties

background → dynamic
Background color: String (hex) or CometChatCardColorValue.
final
borderColor → dynamic
Border color: String (hex) or CometChatCardColorValue.
final
borderRadius double?
final
borderWidth double?
final
hashCode int
The hash code for this object.
no setteroverride
height → dynamic
Height: double (dp) or String ("auto").
final
maxHeight double?
final
maxWidth double?
final
padding CometChatCardPadding?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width → dynamic
Width: double (dp) or String ("auto").
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override