From 79e8ade3f6a32e4b44c6f68e5b2a83928ecc6376 Mon Sep 17 00:00:00 2001 From: Dan Field Date: Tue, 1 Jan 2019 18:32:05 -0800 Subject: [PATCH] Make `ParagraphConstraints` have const constructor --- lib/ui/text.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ui/text.dart b/lib/ui/text.dart index 24eebff1c2009..e77f4a8156bf4 100644 --- a/lib/ui/text.dart +++ b/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);