Commit d98d09d4 authored by Alexandre Ardhuin's avatar Alexandre Ardhuin Committed by GitHub

remove unnecessary @required (#10501)

parent 078b380d
...@@ -114,7 +114,7 @@ class _CupertinoEdgeShadowDecoration extends Decoration { ...@@ -114,7 +114,7 @@ class _CupertinoEdgeShadowDecoration extends Decoration {
/// A [BoxPainter] used to draw the page transition shadow using gradients. /// A [BoxPainter] used to draw the page transition shadow using gradients.
class _CupertinoEdgeShadowPainter extends BoxPainter { class _CupertinoEdgeShadowPainter extends BoxPainter {
_CupertinoEdgeShadowPainter( _CupertinoEdgeShadowPainter(
@required this._decoration, this._decoration,
VoidCallback onChange VoidCallback onChange
) : assert(_decoration != null), ) : assert(_decoration != null),
super(onChange); super(onChange);
......
...@@ -1659,7 +1659,7 @@ class BoxDecoration extends Decoration { ...@@ -1659,7 +1659,7 @@ class BoxDecoration extends Decoration {
/// An object that paints a [BoxDecoration] into a canvas. /// An object that paints a [BoxDecoration] into a canvas.
class _BoxDecorationPainter extends BoxPainter { class _BoxDecorationPainter extends BoxPainter {
_BoxDecorationPainter(@required this._decoration, VoidCallback onChange) _BoxDecorationPainter(this._decoration, VoidCallback onChange)
: assert(_decoration != null), : assert(_decoration != null),
super(onChange); super(onChange);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment