Fix some TabBarTheme mergeOs (#22285)

This commit is contained in:
Hans Muller 2018-09-26 09:11:18 -07:00 committed by GitHub
parent 52697ef962
commit 63efe4c4ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -187,7 +187,6 @@ class ThemeData extends Diagnosticable {
errorColor ??= Colors.red[700];
inputDecorationTheme ??= const InputDecorationTheme();
pageTransitionsTheme ??= const PageTransitionsTheme();
tabBarTheme ??= const TabBarTheme();
primaryIconTheme ??= primaryIsDark ? const IconThemeData(color: Colors.white) : const IconThemeData(color: Colors.black);
accentIconTheme ??= accentIsDark ? const IconThemeData(color: Colors.white) : const IconThemeData(color: Colors.black);
iconTheme ??= isDark ? const IconThemeData(color: Colors.white) : const IconThemeData(color: Colors.black87);
@ -894,12 +893,12 @@ class ThemeData extends Diagnosticable {
primaryIconTheme,
accentIconTheme,
sliderTheme,
chipTheme,
tabBarTheme,
hashValues(
chipTheme,
platform,
materialTapTargetSize,
pageTransitionsTheme,
tabBarTheme,
),
),
);