deprecation prep
This commit is contained in:
parent
a670b683e5
commit
f38178ab7e
1 changed files with 3 additions and 3 deletions
|
@ -58,7 +58,6 @@ class Themes {
|
||||||
cardColor: _schemeCardLayer(colors),
|
cardColor: _schemeCardLayer(colors),
|
||||||
colorScheme: colors,
|
colorScheme: colors,
|
||||||
dividerColor: colors.outlineVariant,
|
dividerColor: colors.outlineVariant,
|
||||||
indicatorColor: colors.primary,
|
|
||||||
scaffoldBackgroundColor: _schemeFirstLayer(colors),
|
scaffoldBackgroundColor: _schemeFirstLayer(colors),
|
||||||
// TYPOGRAPHY & ICONOGRAPHY
|
// TYPOGRAPHY & ICONOGRAPHY
|
||||||
typography: _typography,
|
typography: _typography,
|
||||||
|
@ -75,6 +74,7 @@ class Themes {
|
||||||
),
|
),
|
||||||
radioTheme: _radioTheme(colors),
|
radioTheme: _radioTheme(colors),
|
||||||
sliderTheme: _sliderTheme(colors),
|
sliderTheme: _sliderTheme(colors),
|
||||||
|
tabBarTheme: TabBarThemeData(indicatorColor: colors.primary),
|
||||||
tooltipTheme: _tooltipTheme,
|
tooltipTheme: _tooltipTheme,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -183,7 +183,7 @@ class Themes {
|
||||||
titleTextStyle: _titleTextStyle.copyWith(color: _lightTitleColor),
|
titleTextStyle: _titleTextStyle.copyWith(color: _lightTitleColor),
|
||||||
systemOverlayStyle: deviceInitialized ? AvesApp.systemUIStyleForBrightness(colors.brightness, _schemeFirstLayer(colors)) : null,
|
systemOverlayStyle: deviceInitialized ? AvesApp.systemUIStyleForBrightness(colors.brightness, _schemeFirstLayer(colors)) : null,
|
||||||
),
|
),
|
||||||
dialogTheme: DialogTheme(
|
dialogTheme: DialogThemeData(
|
||||||
backgroundColor: _schemeSecondLayer(colors),
|
backgroundColor: _schemeSecondLayer(colors),
|
||||||
titleTextStyle: _titleTextStyle.copyWith(color: _lightTitleColor),
|
titleTextStyle: _titleTextStyle.copyWith(color: _lightTitleColor),
|
||||||
),
|
),
|
||||||
|
@ -236,7 +236,7 @@ class Themes {
|
||||||
titleTextStyle: _titleTextStyle.copyWith(color: _darkTitleColor),
|
titleTextStyle: _titleTextStyle.copyWith(color: _darkTitleColor),
|
||||||
systemOverlayStyle: deviceInitialized ? AvesApp.systemUIStyleForBrightness(colors.brightness, _schemeFirstLayer(colors)) : null,
|
systemOverlayStyle: deviceInitialized ? AvesApp.systemUIStyleForBrightness(colors.brightness, _schemeFirstLayer(colors)) : null,
|
||||||
),
|
),
|
||||||
dialogTheme: DialogTheme(
|
dialogTheme: DialogThemeData(
|
||||||
backgroundColor: _schemeSecondLayer(colors),
|
backgroundColor: _schemeSecondLayer(colors),
|
||||||
titleTextStyle: _titleTextStyle.copyWith(color: _darkTitleColor),
|
titleTextStyle: _titleTextStyle.copyWith(color: _darkTitleColor),
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue