diff --git a/engine/src/flutter/lib/ui/text.dart b/engine/src/flutter/lib/ui/text.dart index 24eebff1c20..e77f4a8156b 100644 --- a/engine/src/flutter/lib/ui/text.dart +++ b/engine/src/flutter/lib/ui/text.dart @@ -984,7 +984,7 @@ class ParagraphConstraints { /// Creates constraints for laying out a pargraph. /// /// The [width] argument must not be null. - ParagraphConstraints({ + const ParagraphConstraints({ this.width, }) : assert(width != null);