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
6d87337f
Unverified
Commit
6d87337f
authored
Feb 10, 2020
by
Michael Goderbauer
Committed by
GitHub
Feb 10, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove some obsolete // ignore: (#50481)
parent
9bc0e6a9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
6 deletions
+4
-6
view.dart
packages/flutter/lib/src/rendering/view.dart
+0
-1
binding.dart
packages/flutter/lib/src/scheduler/binding.dart
+0
-1
decoration_test.dart
packages/flutter/test/painting/decoration_test.dart
+4
-4
No files found.
packages/flutter/lib/src/rendering/view.dart
View file @
6d87337f
...
...
@@ -282,7 +282,6 @@ class RenderView extends RenderObject with RenderObjectWithChildMixin<RenderBox>
}
@override
// ignore: MUST_CALL_SUPER
void
debugFillProperties
(
DiagnosticPropertiesBuilder
properties
)
{
// call to ${super.debugFillProperties(description)} is omitted because the
// root superclasses don't include any interesting information for this
...
...
packages/flutter/lib/src/scheduler/binding.dart
View file @
6d87337f
...
...
@@ -60,7 +60,6 @@ typedef SchedulingStrategy = bool Function({ int priority, SchedulerBinding sche
class
_TaskEntry
<
T
>
{
_TaskEntry
(
this
.
task
,
this
.
priority
,
this
.
debugLabel
,
this
.
flow
)
{
// ignore: prefer_asserts_in_initializer_lists
assert
(()
{
debugStack
=
StackTrace
.
current
;
return
true
;
...
...
packages/flutter/test/painting/decoration_test.dart
View file @
6d87337f
...
...
@@ -375,10 +375,10 @@ void main() {
});
test
(
'Decoration.lerp with unrelated decorations'
,
()
{
expect
(
Decoration
.
lerp
(
const
FlutterLogoDecoration
(),
const
BoxDecoration
(),
0.0
),
isA
<
FlutterLogoDecoration
>());
// ignore: CONST_EVAL_THROWS_EXCEPTION
expect
(
Decoration
.
lerp
(
const
FlutterLogoDecoration
(),
const
BoxDecoration
(),
0.25
),
isA
<
FlutterLogoDecoration
>());
// ignore: CONST_EVAL_THROWS_EXCEPTION
expect
(
Decoration
.
lerp
(
const
FlutterLogoDecoration
(),
const
BoxDecoration
(),
0.75
),
isA
<
BoxDecoration
>());
// ignore: CONST_EVAL_THROWS_EXCEPTION
expect
(
Decoration
.
lerp
(
const
FlutterLogoDecoration
(),
const
BoxDecoration
(),
1.0
),
isA
<
BoxDecoration
>());
// ignore: CONST_EVAL_THROWS_EXCEPTION
expect
(
Decoration
.
lerp
(
const
FlutterLogoDecoration
(),
const
BoxDecoration
(),
0.0
),
isA
<
FlutterLogoDecoration
>());
expect
(
Decoration
.
lerp
(
const
FlutterLogoDecoration
(),
const
BoxDecoration
(),
0.25
),
isA
<
FlutterLogoDecoration
>());
expect
(
Decoration
.
lerp
(
const
FlutterLogoDecoration
(),
const
BoxDecoration
(),
0.75
),
isA
<
BoxDecoration
>());
expect
(
Decoration
.
lerp
(
const
FlutterLogoDecoration
(),
const
BoxDecoration
(),
1.0
),
isA
<
BoxDecoration
>());
});
test
(
'paintImage BoxFit.none scale test'
,
()
{
...
...
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