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 timestampTextStyle,
- required TextStyle usernameTextStyle,
- required TextStyle avatarTextStyle,
- required Color defaultUserColor,
- required double userAvatarRadius,
- required Widget verificationBadge,
- Color? inputBackgroundColor,
- Color? iconColor,
- MessageTheme? inwardMessageTheme,
- MessageTheme? outwardMessageTheme,
- MessageTheme? actionMessageTheme,
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.timestampTextStyle,
required this.usernameTextStyle,
required this.avatarTextStyle,
required this.defaultUserColor,
required this.userAvatarRadius,
required this.verificationBadge,
this.inputBackgroundColor,
this.iconColor,
this.inwardMessageTheme,
this.outwardMessageTheme,
this.actionMessageTheme});