Skip to content

Commit

Permalink
Make ParagraphConstraints have const constructor (flutter#7346)
Browse files Browse the repository at this point in the history
  • Loading branch information
dnfield committed Jan 7, 2019
1 parent e02dd41 commit 5965f90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ui/text.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 5965f90

Please sign in to comment.