1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00

CI Fix, part #2 (#2423)

This commit is contained in:
Brett Morgan
2024-09-01 17:25:33 +10:00
committed by GitHub
parent 82a8a8411e
commit 8d208d7fd4
16 changed files with 65 additions and 63 deletions

View File

@@ -13,7 +13,7 @@ abstract class AppTheme {
return base.copyWith(
bottomSheetTheme: BottomSheetThemeData(
backgroundColor: AppColors.blue700,
modalBackgroundColor: Colors.white.withOpacity(0.7),
modalBackgroundColor: Colors.white.withAlpha(179),
),
navigationRailTheme: NavigationRailThemeData(
backgroundColor: AppColors.blue700,
@@ -53,7 +53,7 @@ abstract class AppTheme {
return base.copyWith(
bottomSheetTheme: BottomSheetThemeData(
backgroundColor: AppColors.darkDrawerBackground,
modalBackgroundColor: Colors.black.withOpacity(0.7),
modalBackgroundColor: Colors.black.withAlpha(179),
),
navigationRailTheme: NavigationRailThemeData(
backgroundColor: AppColors.darkBottomAppBarBackground,
@@ -102,9 +102,9 @@ abstract class AppTheme {
Brightness brightness,
) {
return ChipThemeData(
backgroundColor: primaryColor.withOpacity(0.12),
disabledColor: primaryColor.withOpacity(0.87),
selectedColor: primaryColor.withOpacity(0.05),
backgroundColor: primaryColor.withAlpha(31),
disabledColor: primaryColor.withAlpha(222),
selectedColor: primaryColor.withAlpha(12),
secondarySelectedColor: chipBackground,
padding: const EdgeInsets.all(4),
shape: const StadiumBorder(),