diff --git a/engine/src/flutter/examples/lib/solid_color_box.dart b/engine/src/flutter/examples/lib/solid_color_box.dart index 4608f4b6b33..ae008e39316 100644 --- a/engine/src/flutter/examples/lib/solid_color_box.dart +++ b/engine/src/flutter/examples/lib/solid_color_box.dart @@ -9,7 +9,7 @@ class RenderSolidColorBox extends RenderDecoratedBox { final Size desiredSize; final Color backgroundColor; - RenderSolidColorBox(Color backgroundColor, { this.desiredSize: const Size.infinite() }) + RenderSolidColorBox(Color backgroundColor, { this.desiredSize: Size.infinite }) : backgroundColor = backgroundColor, super(decoration: new BoxDecoration(backgroundColor: backgroundColor));