fix red build for analysis (#28398)

This commit is contained in:
Dan Field
2019-02-23 09:39:36 -08:00
committed by GitHub
parent 7b5a769b31
commit ad68ba303b

View File

@@ -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