chore: run dartfmt on changed files

This commit is contained in:
groovinchip
2021-07-30 13:44:53 -04:00
parent 6765854132
commit 019bd5d5da
3 changed files with 13 additions and 9 deletions
@@ -118,13 +118,15 @@ class ChannelListPage extends StatelessWidget {
channel: channel,
),
title: ChannelName(
textStyle:
StreamChatTheme.of(context).channelPreviewTheme.titleStyle!.copyWith(
color: StreamChatTheme.of(context)
.colorTheme
.textHighEmphasis
.withOpacity(opacity),
),
textStyle: StreamChatTheme.of(context)
.channelPreviewTheme
.titleStyle!
.copyWith(
color: StreamChatTheme.of(context)
.colorTheme
.textHighEmphasis
.withOpacity(opacity),
),
),
subtitle: Text(subtitle),
trailing: channel.state!.unreadCount > 0
@@ -249,7 +249,8 @@ class ChannelPreview extends StatelessWidget {
lastMessage.mentionedUsers,
lastMessage.attachments,
chatThemeData.channelPreviewTheme.subtitleStyle?.copyWith(
color: chatThemeData.channelPreviewTheme.subtitleStyle?.color,
color:
chatThemeData.channelPreviewTheme.subtitleStyle?.color,
fontStyle: (lastMessage.isSystem || lastMessage.isDeleted)
? FontStyle.italic
: FontStyle.normal),
@@ -54,7 +54,8 @@ class ChannelPreviewTheme {
if (other == null) return this;
return copyWith(
title: titleStyle?.merge(other.titleStyle) ?? other.titleStyle,
subtitle: subtitleStyle?.merge(other.subtitleStyle) ?? other.subtitleStyle,
subtitle:
subtitleStyle?.merge(other.subtitleStyle) ?? other.subtitleStyle,
lastMessageAt:
lastMessageAt?.merge(other.lastMessageAt) ?? other.lastMessageAt,
avatarTheme: avatarTheme?.merge(other.avatarTheme) ?? other.avatarTheme,