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
406f6bcc
Unverified
Commit
406f6bcc
authored
Mar 10, 2021
by
Sam Rawlins
Committed by
GitHub
Mar 10, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary question marks (#77719)
parent
9fdda012
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
tween.dart
packages/flutter/lib/src/animation/tween.dart
+1
-1
widget_inspector_test.dart
packages/flutter/test/widgets/widget_inspector_test.dart
+1
-1
No files found.
packages/flutter/lib/src/animation/tween.dart
View file @
406f6bcc
...
@@ -259,7 +259,7 @@ class Tween<T extends dynamic> extends Animatable<T> {
...
@@ -259,7 +259,7 @@ class Tween<T extends dynamic> extends Animatable<T> {
assert
(()
{
assert
(()
{
// Assertions that attempt to catch common cases of tweening types
// Assertions that attempt to catch common cases of tweening types
// that do not conform to the Tween requirements.
// that do not conform to the Tween requirements.
dynamic
?
result
;
dynamic
result
;
try
{
try
{
result
=
begin
+
(
end
-
begin
)
*
t
;
result
=
begin
+
(
end
-
begin
)
*
t
;
result
as
T
;
result
as
T
;
...
...
packages/flutter/test/widgets/widget_inspector_test.dart
View file @
406f6bcc
...
@@ -1536,7 +1536,7 @@ class _TestWidgetInspectorService extends TestWidgetInspectorService {
...
@@ -1536,7 +1536,7 @@ class _TestWidgetInspectorService extends TestWidgetInspectorService {
service
.
disposeAllGroups
();
service
.
disposeAllGroups
();
await
service
.
testExtension
(
'setPubRootDirectories'
,
<
String
,
String
>{});
await
service
.
testExtension
(
'setPubRootDirectories'
,
<
String
,
String
>{});
service
.
setSelection
(
elementA
,
'my-group'
);
service
.
setSelection
(
elementA
,
'my-group'
);
final
Map
<
String
,
dynamic
?>
jsonA
=
(
await
service
.
testExtension
(
'getSelectedWidget'
,
<
String
,
String
>{
'objectGroup'
:
'my-group'
}))!
as
Map
<
String
,
dynamic
?
>;
final
Map
<
String
,
dynamic
>
jsonA
=
(
await
service
.
testExtension
(
'getSelectedWidget'
,
<
String
,
String
>{
'objectGroup'
:
'my-group'
}))!
as
Map
<
String
,
dynamic
>;
await
service
.
testExtension
(
'setPubRootDirectories'
,
<
String
,
String
>{});
await
service
.
testExtension
(
'setPubRootDirectories'
,
<
String
,
String
>{});
Map
<
String
,
Object
?>
rootJson
=
(
await
service
.
testExtension
(
'getRootWidgetSummaryTree'
,
<
String
,
String
>{
'objectGroup'
:
group
}))!
as
Map
<
String
,
Object
?>;
Map
<
String
,
Object
?>
rootJson
=
(
await
service
.
testExtension
(
'getRootWidgetSummaryTree'
,
<
String
,
String
>{
'objectGroup'
:
group
}))!
as
Map
<
String
,
Object
?>;
...
...
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