Use black30 for CupertinoTabBar's border (#119509)
This commit is contained in:
@@ -15,7 +15,7 @@ import 'theme.dart';
|
||||
const double _kTabBarHeight = 50.0;
|
||||
|
||||
const Color _kDefaultTabBarBorderColor = CupertinoDynamicColor.withBrightness(
|
||||
color: Color(0x4C000000),
|
||||
color: Color(0x4D000000),
|
||||
darkColor: Color(0x29000000),
|
||||
);
|
||||
const Color _kDefaultTabBarInactiveColor = CupertinoColors.inactiveGray;
|
||||
|
||||
@@ -152,7 +152,7 @@ Future<void> main() async {
|
||||
|
||||
// Border color is resolved correctly.
|
||||
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.
|
||||
await pumpWidgetWithBoilerplate(tester, MediaQuery(
|
||||
|
||||
Reference in New Issue
Block a user