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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 /// Equivalent to having no strut at all. All lines will be laid out according to
/// the properties defined in [TextStyle]. /// the properties defined in [TextStyle].
static const StrutStyle disabled = StrutStyle( static const StrutStyle disabled = StrutStyle(
height: 0, height: 0.0,
leading: 0, leading: 0.0,
); );
/// The name of the font to use when calcualting the strut (e.g., Roboto). If the /// The name of the font to use when calcualting the strut (e.g., Roboto). If the