Fix prefer_const_constructors (#31860)

This will fix our flutter build post-submit analyze test

Merge on red to fix flutter build
This commit is contained in:
liyuqian 2019-04-30 10:38:26 -07:00 committed by GitHub
parent fea2c7d671
commit fb87619143
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,7 @@ class _UpdateCountedPhysicalModel extends PhysicalModel {
class _UpdateCountedPhysicalShape extends PhysicalShape {
_UpdateCountedPhysicalShape({Clip clipBehavior = Clip.none})
: super(clipBehavior: clipBehavior, color: Colors.red, clipper: ShapeBorderClipper(shape: CircleBorder()));
: super(clipBehavior: clipBehavior, color: Colors.red, clipper: const ShapeBorderClipper(shape: CircleBorder()));
}
void main() {