chore: more upgrades for channel_header_theme.dart

* Renamed:
  * title -> titleStyle
  * subtitle -> subtitleStyle
* Added
  * ==
  * hashcode
  * debugFillProperties
  * lerp
This commit is contained in:
groovinchip
2021-07-27 13:33:58 -04:00
parent 8bf45f8501
commit 3a072fc836
7 changed files with 66 additions and 21 deletions
@@ -112,12 +112,12 @@ class ThreadHeader extends StatelessWidget implements PreferredSizeWidget {
children: [
Text(
'with ',
style: chatThemeData.channelTheme.channelHeaderTheme.subtitle,
style: chatThemeData.channelTheme.channelHeaderTheme.subtitleStyle,
),
Flexible(
child: ChannelName(
textStyle:
chatThemeData.channelTheme.channelHeaderTheme.subtitle,
chatThemeData.channelTheme.channelHeaderTheme.subtitleStyle,
),
),
],
@@ -150,14 +150,14 @@ class ThreadHeader extends StatelessWidget implements PreferredSizeWidget {
title ??
Text(
'Thread Reply',
style: chatThemeData.channelTheme.channelHeaderTheme.title,
style: chatThemeData.channelTheme.channelHeaderTheme.titleStyle,
),
const SizedBox(height: 2),
if (showTypingIndicator)
TypingIndicator(
alignment: Alignment.center,
channel: StreamChannel.of(context).channel,
style: chatThemeData.channelTheme.channelHeaderTheme.subtitle,
style: chatThemeData.channelTheme.channelHeaderTheme.subtitleStyle,
parentId: parent.id,
alternativeWidget: defaultSubtitle,
)