apply theme to rest of the sdk

This commit is contained in:
Salvatore Giordano
2020-12-31 10:24:25 +01:00
parent a8171f7314
commit f011bf32fc
17 changed files with 51 additions and 24 deletions
+3 -2
View File
@@ -11,7 +11,7 @@ class GroupImage extends StatelessWidget {
this.onTap,
this.borderRadius,
this.selected = false,
this.selectionColor = const Color(0xFF006CFF),
this.selectionColor,
this.selectionThickness = 4,
}) : super(key: key);
@@ -110,7 +110,8 @@ class GroupImage extends StatelessWidget {
streamChatTheme.ownMessageTheme.avatarTheme.borderRadius) +
BorderRadius.circular(selectionThickness),
child: Container(
color: selectionColor,
color: selectionColor ??
StreamChatTheme.of(context).colorTheme.accentBlue,
height: 64.0,
width: 64.0,
child: Padding(