ChatTheme constructor
ChatTheme({
- Color? backgroundColor,
- DecorationImage? backgroundImage,
- required BorderRadius? imageBorderRadius,
- required Color? userStatusColor,
- required Color primaryColor,
- required Widget seenIcon,
- required Widget sentIcon,
- required Widget sendingFailedIcon,
- required EdgeInsetsGeometry usernamePadding,
- required EdgeInsetsGeometry bodyPadding,
- required TextStyle timeTextStyle,
- required TextStyle urlTextStyle,
- required TextStyle actionMessageTextStyle,
- required TextStyle linkPreviewTitleStyle,
- required TextStyle linkPreviewTextStyle,
- required TextStyle timestampTextStyle,
- required TextStyle inwardMessageTextStyle,
- required TextStyle outwardMessageTextStyle,
- required TextStyle usernameTextStyle,
- required TextStyle avatarTextStyle,
- required EdgeInsetsGeometry messagePadding,
- required EdgeInsetsGeometry actionMessageMargin,
- required BorderRadiusGeometry? inwardMessageBorderRadius,
- required BorderRadiusGeometry? outwardMessageBorderRadius,
- required Color inwardMessageBackgroundColor,
- required Color outwardMessageBackgroundColor,
- required double messageWidth,
- required Color audioWaveColor,
- required EdgeInsetsGeometry messageMargin,
- required Color defaultUserColor,
- required double userAvatarRadius,
- required Widget verificationBadge,
Implementation
ChatTheme({
this.backgroundColor,
this.backgroundImage,
required this.imageBorderRadius,
required this.userStatusColor,
required this.primaryColor,
required this.seenIcon,
required this.sentIcon,
required this.sendingFailedIcon,
required this.usernamePadding,
required this.bodyPadding,
required this.timeTextStyle,
required this.urlTextStyle,
required this.actionMessageTextStyle,
required this.linkPreviewTitleStyle,
required this.linkPreviewTextStyle,
required this.timestampTextStyle,
required this.inwardMessageTextStyle,
required this.outwardMessageTextStyle,
required this.usernameTextStyle,
required this.avatarTextStyle,
required this.messagePadding,
required this.actionMessageMargin,
required this.inwardMessageBorderRadius,
required this.outwardMessageBorderRadius,
required this.inwardMessageBackgroundColor,
required this.outwardMessageBackgroundColor,
required this.messageWidth,
required this.audioWaveColor,
required this.messageMargin,
required this.defaultUserColor,
required this.userAvatarRadius,
required this.verificationBadge,
});