ChatTheme constructor

ChatTheme({
  1. Color? backgroundColor,
  2. DecorationImage? backgroundImage,
  3. required BorderRadius? imageBorderRadius,
  4. required Color? userStatusColor,
  5. required Color primaryColor,
  6. required Widget seenIcon,
  7. required Widget sentIcon,
  8. required Widget sendingFailedIcon,
  9. required EdgeInsetsGeometry usernamePadding,
  10. required EdgeInsetsGeometry bodyPadding,
  11. required TextStyle timeTextStyle,
  12. required TextStyle urlTextStyle,
  13. required TextStyle actionMessageTextStyle,
  14. required TextStyle linkPreviewTitleStyle,
  15. required TextStyle linkPreviewTextStyle,
  16. required TextStyle timestampTextStyle,
  17. required TextStyle inwardMessageTextStyle,
  18. required TextStyle outwardMessageTextStyle,
  19. required TextStyle usernameTextStyle,
  20. required TextStyle avatarTextStyle,
  21. required EdgeInsetsGeometry messagePadding,
  22. required EdgeInsetsGeometry actionMessageMargin,
  23. required BorderRadiusGeometry? inwardMessageBorderRadius,
  24. required BorderRadiusGeometry? outwardMessageBorderRadius,
  25. required Color inwardMessageBackgroundColor,
  26. required Color outwardMessageBackgroundColor,
  27. required double messageWidth,
  28. required Color audioWaveColor,
  29. required EdgeInsetsGeometry messageMargin,
  30. required Color defaultUserColor,
  31. required double userAvatarRadius,
  32. 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,
});