test: fix mid-lerp test in channel_header_theme_test.dart

This commit is contained in:
groovinchip
2021-08-02 14:44:36 -04:00
parent e5270e60d0
commit 6e6ce8c7f3
@@ -26,7 +26,7 @@ void main() {
expect( expect(
const ChannelHeaderThemeData() const ChannelHeaderThemeData()
.lerp(_channelThemeControl, _channelThemeControlDark, 0.5), .lerp(_channelThemeControl, _channelThemeControlDark, 0.5),
_channelThemeControlDark); _channelThemeControlMidLerp);
}); });
test( test(
@@ -70,10 +70,14 @@ final _channelThemeControlMidLerp = ChannelHeaderThemeData(
width: 40, width: 40,
), ),
), ),
color: ColorTheme.light().barsBg, color: const Color(0xff101418),
titleStyle: TextTheme.light().headlineBold, titleStyle: const TextStyle(
color: Color(0xffffffff),
fontWeight: FontWeight.bold,
fontSize: 16,
),
subtitleStyle: TextTheme.light().footnote.copyWith( subtitleStyle: TextTheme.light().footnote.copyWith(
color: const Color(0xff7A7A7A), color: const Color(0xff7a7a7a),
), ),
); );