Unverified Commit ab1390e0 authored by Sunbreak's avatar Sunbreak Committed by GitHub

Use black30 for CupertinoTabBar's border (#119509)

parent 541a8bfd
...@@ -15,7 +15,7 @@ import 'theme.dart'; ...@@ -15,7 +15,7 @@ import 'theme.dart';
const double _kTabBarHeight = 50.0; const double _kTabBarHeight = 50.0;
const Color _kDefaultTabBarBorderColor = CupertinoDynamicColor.withBrightness( const Color _kDefaultTabBarBorderColor = CupertinoDynamicColor.withBrightness(
color: Color(0x4C000000), color: Color(0x4D000000),
darkColor: Color(0x29000000), darkColor: Color(0x29000000),
); );
const Color _kDefaultTabBarInactiveColor = CupertinoColors.inactiveGray; const Color _kDefaultTabBarInactiveColor = CupertinoColors.inactiveGray;
......
...@@ -152,7 +152,7 @@ Future<void> main() async { ...@@ -152,7 +152,7 @@ Future<void> main() async {
// Border color is resolved correctly. // Border color is resolved correctly.
final BoxDecoration decoration1 = renderDecoratedBox.decoration as BoxDecoration; final BoxDecoration decoration1 = renderDecoratedBox.decoration as BoxDecoration;
expect(decoration1.border!.top.color.value, 0x4C000000); expect(decoration1.border!.top.color.value, 0x4D000000);
// Switch to dark mode. // Switch to dark mode.
await pumpWidgetWithBoilerplate(tester, MediaQuery( await pumpWidgetWithBoilerplate(tester, MediaQuery(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment