From 0b4dad6553e1c4d19fddffaa0ee9847d08134e32 Mon Sep 17 00:00:00 2001 From: Juyeong Lee <2jy22@naver.com> Date: Thu, 3 Sep 2020 08:55:05 +0900 Subject: [PATCH] Update hintColor value for Material (#65036) --- packages/flutter/lib/src/material/theme_data.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter/lib/src/material/theme_data.dart b/packages/flutter/lib/src/material/theme_data.dart index 4e0562ad794..566193e6eda 100644 --- a/packages/flutter/lib/src/material/theme_data.dart +++ b/packages/flutter/lib/src/material/theme_data.dart @@ -332,7 +332,7 @@ class ThemeData with 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(0x80FFFFFF) : const Color(0x8A000000); + hintColor ??= isDark ? Colors.white60 : Colors.black.withOpacity(0.6); errorColor ??= Colors.red[700]; inputDecorationTheme ??= const InputDecorationTheme(); pageTransitionsTheme ??= const PageTransitionsTheme();