test: fix mid-lerp test in channel_header_theme_test.dart
This commit is contained in:
@@ -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),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user