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
d98d09d4
Commit
d98d09d4
authored
Jun 05, 2017
by
Alexandre Ardhuin
Committed by
GitHub
Jun 05, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unnecessary @required (#10501)
parent
078b380d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
page.dart
packages/flutter/lib/src/cupertino/page.dart
+1
-1
box_painter.dart
packages/flutter/lib/src/painting/box_painter.dart
+1
-1
No files found.
packages/flutter/lib/src/cupertino/page.dart
View file @
d98d09d4
...
...
@@ -114,7 +114,7 @@ class _CupertinoEdgeShadowDecoration extends Decoration {
/// A [BoxPainter] used to draw the page transition shadow using gradients.
class
_CupertinoEdgeShadowPainter
extends
BoxPainter
{
_CupertinoEdgeShadowPainter
(
@required
this
.
_decoration
,
this
.
_decoration
,
VoidCallback
onChange
)
:
assert
(
_decoration
!=
null
),
super
(
onChange
);
...
...
packages/flutter/lib/src/painting/box_painter.dart
View file @
d98d09d4
...
...
@@ -1659,7 +1659,7 @@ class BoxDecoration extends Decoration {
/// An object that paints a [BoxDecoration] into a canvas.
class
_BoxDecorationPainter
extends
BoxPainter
{
_BoxDecorationPainter
(
@required
this
.
_decoration
,
VoidCallback
onChange
)
_BoxDecorationPainter
(
this
.
_decoration
,
VoidCallback
onChange
)
:
assert
(
_decoration
!=
null
),
super
(
onChange
);
...
...
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