From c00f855ac5e1f6df0ef5c0cfff571afcaba002cf Mon Sep 17 00:00:00 2001 From: Dan Field Date: Mon, 7 Jan 2019 08:51:47 -0800 Subject: [PATCH] Make `ParagraphConstraints` have const constructor (flutter/engine#7346) --- engine/src/flutter/lib/ui/text.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);