CardStyle class

CardStyle is a model class for card widget. It contains the styles for the card widget.

CardStyle(
titleStyle: TextStyle(),
subtitleStyle: TextStyle(),
width: 100,
height: 100,
background: Colors.white,
border: Border.all(),
borderRadius: BorderRadius.circular(20),
gradient: LinearGradient(),
);

Constructors

CardStyle.new({TextStyle? titleStyle, CometChatAvatarStyle? avatarStyle})
const

Properties

avatarStyle CometChatAvatarStyle?
avatarStyle sets style for avatar
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
titleStyle TextStyle?
titleStyle sets TextStyle for title
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