chore: upgrade AvatarTheme

* `AvatarTheme` is now an `InheritedTheme` and has a corresponding `AvatarThemeData` class
This commit is contained in:
groovinchip
2021-07-27 10:32:49 -04:00
parent bcabbf12db
commit f90fd713c2
8 changed files with 127 additions and 31 deletions
@@ -49,7 +49,7 @@ class MessageTheme {
final Color? reactionsMaskColor;
/// Theme of the avatar
final AvatarTheme? avatarTheme;
final AvatarThemeData? avatarTheme;
/// Copy with a theme
MessageTheme copyWith({
@@ -60,7 +60,7 @@ class MessageTheme {
TextStyle? replies,
Color? messageBackgroundColor,
Color? messageBorderColor,
AvatarTheme? avatarTheme,
AvatarThemeData? avatarTheme,
Color? reactionsBackgroundColor,
Color? reactionsBorderColor,
Color? reactionsMaskColor,