Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
ab1390e0
Unverified
Commit
ab1390e0
authored
Feb 15, 2023
by
Sunbreak
Committed by
GitHub
Feb 15, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use black30 for CupertinoTabBar's border (#119509)
parent
541a8bfd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
bottom_tab_bar.dart
packages/flutter/lib/src/cupertino/bottom_tab_bar.dart
+1
-1
bottom_tab_bar_test.dart
packages/flutter/test/cupertino/bottom_tab_bar_test.dart
+1
-1
No files found.
packages/flutter/lib/src/cupertino/bottom_tab_bar.dart
View file @
ab1390e0
...
@@ -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
(
0x4
C
000000
),
color:
Color
(
0x4
D
000000
),
darkColor:
Color
(
0x29000000
),
darkColor:
Color
(
0x29000000
),
);
);
const
Color
_kDefaultTabBarInactiveColor
=
CupertinoColors
.
inactiveGray
;
const
Color
_kDefaultTabBarInactiveColor
=
CupertinoColors
.
inactiveGray
;
...
...
packages/flutter/test/cupertino/bottom_tab_bar_test.dart
View file @
ab1390e0
...
@@ -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
,
0x4
C
000000
);
expect
(
decoration1
.
border
!.
top
.
color
.
value
,
0x4
D
000000
);
// Switch to dark mode.
// Switch to dark mode.
await
pumpWidgetWithBoilerplate
(
tester
,
MediaQuery
(
await
pumpWidgetWithBoilerplate
(
tester
,
MediaQuery
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment