Unverified Commit fb876191 authored by liyuqian's avatar liyuqian Committed by GitHub

Fix prefer_const_constructors (#31860)

This will fix our flutter build post-submit analyze test

Merge on red to fix flutter build
parent fea2c7d6
......@@ -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() {
......
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