mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fix some TabBarTheme mergeOs (#22285)
This commit is contained in:
parent
52697ef962
commit
63efe4c4ac
@ -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,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user