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
467f3d49
Commit
467f3d49
authored
Dec 16, 2019
by
Dan Field
Committed by
Flutter GitHub Bot
Dec 16, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove duplicative checks (#47026)
parent
b0b8b91b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
sliver.dart
packages/flutter/lib/src/rendering/sliver.dart
+0
-2
slivers_test.dart
packages/flutter/test/rendering/slivers_test.dart
+0
-2
No files found.
packages/flutter/lib/src/rendering/sliver.dart
View file @
467f3d49
...
...
@@ -442,9 +442,7 @@ class SliverConstraints extends Constraints {
verify
(
growthDirection
!=
null
,
'The "growthDirection" is null.'
);
verifyDouble
(
scrollOffset
,
'scrollOffset'
);
verifyDouble
(
overlap
,
'overlap'
);
verifyDouble
(
remainingPaintExtent
,
'remainingPaintExtent'
);
verifyDouble
(
crossAxisExtent
,
'crossAxisExtent'
);
verifyDouble
(
viewportMainAxisExtent
,
'viewportMainAxisExtent'
);
verifyDouble
(
scrollOffset
,
'scrollOffset'
,
mustBePositive:
true
);
verify
(
crossAxisDirection
!=
null
,
'The "crossAxisDirection" is null.'
);
verify
(
axisDirectionToAxis
(
axisDirection
)
!=
axisDirectionToAxis
(
crossAxisDirection
),
'The "axisDirection" and the "crossAxisDirection" are along the same axis.'
);
...
...
packages/flutter/test/rendering/slivers_test.dart
View file @
467f3d49
...
...
@@ -947,9 +947,7 @@ void main() {
'SliverConstraints is not valid:
\n
'
' The "scrollOffset" is NaN.
\n
'
' The "overlap" is NaN.
\n
'
' The "remainingPaintExtent" is NaN.
\n
'
' The "crossAxisExtent" is NaN.
\n
'
' The "viewportMainAxisExtent" is NaN.
\n
'
' The "scrollOffset" is NaN, expected greater than or equal to zero.
\n
'
' The "viewportMainAxisExtent" is NaN, expected greater than or equal to zero.
\n
'
' The "remainingPaintExtent" is NaN, expected greater than or equal to zero.
\n
'
...
...
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