Skip to content

Commit ab1390e

Browse files
authored
Use black30 for CupertinoTabBar's border (#119509)
1 parent 541a8bf commit ab1390e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/flutter/lib/src/cupertino/bottom_tab_bar.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import 'theme.dart';
1515
const double _kTabBarHeight = 50.0;
1616

1717
const Color _kDefaultTabBarBorderColor = CupertinoDynamicColor.withBrightness(
18-
color: Color(0x4C000000),
18+
color: Color(0x4D000000),
1919
darkColor: Color(0x29000000),
2020
);
2121
const Color _kDefaultTabBarInactiveColor = CupertinoColors.inactiveGray;

packages/flutter/test/cupertino/bottom_tab_bar_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ Future<void> main() async {
152152

153153
// Border color is resolved correctly.
154154
final BoxDecoration decoration1 = renderDecoratedBox.decoration as BoxDecoration;
155-
expect(decoration1.border!.top.color.value, 0x4C000000);
155+
expect(decoration1.border!.top.color.value, 0x4D000000);
156156

157157
// Switch to dark mode.
158158
await pumpWidgetWithBoilerplate(tester, MediaQuery(

0 commit comments

Comments
 (0)