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
fc64e75a
Unverified
Commit
fc64e75a
authored
Jun 23, 2020
by
zichangg
Committed by
GitHub
Jun 23, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update tooltip_theme_test to unblock Dart SDK roll (#59937)
parent
bcb7b85b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
tooltip_theme_test.dart
packages/flutter/test/material/tooltip_theme_test.dart
+6
-4
No files found.
packages/flutter/test/material/tooltip_theme_test.dart
View file @
fc64e75a
...
...
@@ -65,6 +65,8 @@ void main() {
testWidgets
(
'TooltipThemeData implements debugFillProperties'
,
(
WidgetTester
tester
)
async
{
final
DiagnosticPropertiesBuilder
builder
=
DiagnosticPropertiesBuilder
();
const
Duration
wait
=
Duration
(
milliseconds:
100
);
const
Duration
show
=
Duration
(
milliseconds:
200
);
const
TooltipThemeData
(
height:
15.0
,
padding:
EdgeInsets
.
all
(
20.0
),
...
...
@@ -73,8 +75,8 @@ void main() {
excludeFromSemantics:
true
,
decoration:
BoxDecoration
(
color:
Color
(
0xffffffff
)),
textStyle:
TextStyle
(
decoration:
TextDecoration
.
underline
),
waitDuration:
Duration
(
milliseconds:
100
)
,
showDuration:
Duration
(
milliseconds:
200
)
,
waitDuration:
wait
,
showDuration:
show
,
).
debugFillProperties
(
builder
);
final
List
<
String
>
description
=
builder
.
properties
...
...
@@ -90,8 +92,8 @@ void main() {
'semantics: excluded'
,
'decoration: BoxDecoration(color: Color(0xffffffff))'
,
'textStyle: TextStyle(inherit: true, decoration: TextDecoration.underline)'
,
'wait duration:
0:00:00.100000
'
,
'show duration:
0:00:00.200000
'
,
'wait duration:
${wait.toString()}
'
,
'show duration:
${show.toString()}
'
,
]);
});
...
...
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