From ad68ba303b44886ea1ed64a83e367e11c776fe96 Mon Sep 17 00:00:00 2001 From: Dan Field Date: Sat, 23 Feb 2019 09:39:36 -0800 Subject: [PATCH] fix red build for analysis (#28398) --- packages/flutter/lib/src/painting/strut_style.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/flutter/lib/src/painting/strut_style.dart b/packages/flutter/lib/src/painting/strut_style.dart index a1e1fbb3d5..f546426661 100644 --- a/packages/flutter/lib/src/painting/strut_style.dart +++ b/packages/flutter/lib/src/painting/strut_style.dart @@ -331,8 +331,8 @@ class StrutStyle extends Diagnosticable { /// Equivalent to having no strut at all. All lines will be laid out according to /// the properties defined in [TextStyle]. static const StrutStyle disabled = StrutStyle( - height: 0, - leading: 0, + height: 0.0, + leading: 0.0, ); /// The name of the font to use when calcualting the strut (e.g., Roboto). If the