diff --git a/packages/flutter/lib/src/material/input_decorator.dart b/packages/flutter/lib/src/material/input_decorator.dart index cb22b2988f..601b4af531 100644 --- a/packages/flutter/lib/src/material/input_decorator.dart +++ b/packages/flutter/lib/src/material/input_decorator.dart @@ -2305,31 +2305,18 @@ class InputDecorationTheme extends Diagnosticable { void debugFillProperties(DiagnosticPropertiesBuilder description) { super.debugFillProperties(description); const InputDecorationTheme defaultTheme = const InputDecorationTheme(); - description.add(new DiagnosticsProperty('labelStyle', labelStyle, - defaultValue: defaultTheme.labelStyle)); - description.add(new DiagnosticsProperty('helperStyle', helperStyle, - defaultValue: defaultTheme.helperStyle)); - description.add(new DiagnosticsProperty('hintStyle', hintStyle, - defaultValue: defaultTheme.hintStyle)); - description.add(new DiagnosticsProperty('errorStyle', errorStyle, - defaultValue: defaultTheme.errorStyle)); - description - .add(new DiagnosticsProperty('isDense', isDense, defaultValue: defaultTheme.isDense)); - description.add(new DiagnosticsProperty('contentPadding', contentPadding, - defaultValue: defaultTheme.contentPadding)); - description.add(new DiagnosticsProperty('isCollapsed', isCollapsed, - defaultValue: defaultTheme.isCollapsed)); - description.add(new DiagnosticsProperty('prefixStyle', prefixStyle, - defaultValue: defaultTheme.prefixStyle)); - description.add(new DiagnosticsProperty('suffixStyle', suffixStyle, - defaultValue: defaultTheme.suffixStyle)); - description.add(new DiagnosticsProperty('counterStyle', counterStyle, - defaultValue: defaultTheme.counterStyle)); - description - .add(new DiagnosticsProperty('filled', filled, defaultValue: defaultTheme.filled)); - description.add(new DiagnosticsProperty('fillColor', fillColor, - defaultValue: defaultTheme.fillColor)); - description.add( - new DiagnosticsProperty('border', border, defaultValue: defaultTheme.border)); + description.add(new DiagnosticsProperty('labelStyle', labelStyle, defaultValue: defaultTheme.labelStyle)); + description.add(new DiagnosticsProperty('helperStyle', helperStyle, defaultValue: defaultTheme.helperStyle)); + description.add(new DiagnosticsProperty('hintStyle', hintStyle, defaultValue: defaultTheme.hintStyle)); + description.add(new DiagnosticsProperty('errorStyle', errorStyle, defaultValue: defaultTheme.errorStyle)); + description.add(new DiagnosticsProperty('isDense', isDense, defaultValue: defaultTheme.isDense)); + description.add(new DiagnosticsProperty('contentPadding', contentPadding, defaultValue: defaultTheme.contentPadding)); + description.add(new DiagnosticsProperty('isCollapsed', isCollapsed, defaultValue: defaultTheme.isCollapsed)); + description.add(new DiagnosticsProperty('prefixStyle', prefixStyle, defaultValue: defaultTheme.prefixStyle)); + description.add(new DiagnosticsProperty('suffixStyle', suffixStyle, defaultValue: defaultTheme.suffixStyle)); + description.add(new DiagnosticsProperty('counterStyle', counterStyle, defaultValue: defaultTheme.counterStyle)); + description.add(new DiagnosticsProperty('filled', filled, defaultValue: defaultTheme.filled)); + description.add(new DiagnosticsProperty('fillColor', fillColor, defaultValue: defaultTheme.fillColor)); + description.add(new DiagnosticsProperty('border', border, defaultValue: defaultTheme.border)); } } diff --git a/packages/flutter/lib/src/material/theme_data.dart b/packages/flutter/lib/src/material/theme_data.dart index 443c0ef4c2..a8a96ad423 100644 --- a/packages/flutter/lib/src/material/theme_data.dart +++ b/packages/flutter/lib/src/material/theme_data.dart @@ -146,7 +146,7 @@ class ThemeData extends Diagnosticable { backgroundColor ??= isDark ? Colors.grey[700] : primarySwatch[200]; dialogBackgroundColor ??= isDark ? Colors.grey[800] : Colors.white; indicatorColor ??= accentColor == primaryColor ? Colors.white : accentColor; - hintColor ??= isDark ? const Color(0x42FFFFFF) : const Color(0x4C000000); + hintColor ??= isDark ? const Color(0x80FFFFFF) : const Color(0x8A000000); errorColor ??= Colors.red[700]; inputDecorationTheme ??= const InputDecorationTheme(); iconTheme ??= isDark ? const IconThemeData(color: Colors.white) : const IconThemeData(color: Colors.black);