ChatLayoutThemeData constructor

const ChatLayoutThemeData({
  1. EdgeInsets chatViewPadding = const EdgeInsets.all(16),
  2. double userAvatarSize = 36,
  3. double avatarAndMessageSpacing = 8,
  4. TextStyle failedToSendTextStyle = const TextStyle(fontSize: 11, color: Color(0xFFFF3B30), fontWeight: FontWeight.w400, height: 1.545),
})

The constructor for the chat layout theme data.

Implementation

const ChatLayoutThemeData({
  this.chatViewPadding = const EdgeInsets.all(16),
  this.userAvatarSize = 36,
  this.avatarAndMessageSpacing = 8,
  this.failedToSendTextStyle = const TextStyle(
    fontSize: 11,
    color: Color(0xFFFF3B30),
    fontWeight: FontWeight.w400,
    height: 1.545,
  ),
});