TF-3586: Upgrade Flutter to 3.27.4
This commit is contained in:
+3
-1
@@ -18,7 +18,9 @@ extension UpdateCurrentEmailsFlagsExtension on MailboxDashBoardController {
|
||||
if (readAction == null &&
|
||||
markStarAction == null &&
|
||||
!markAsAnswered &&
|
||||
!markAsForwarded) return;
|
||||
!markAsForwarded) {
|
||||
return;
|
||||
}
|
||||
|
||||
final currentEmails = dashboardRoute.value == DashboardRoutes.searchEmail
|
||||
? listResultSearch
|
||||
|
||||
@@ -87,13 +87,6 @@ class MailboxDashBoardView extends BaseMailboxDashBoardView {
|
||||
width: 30,
|
||||
height: 30,
|
||||
child: CupertinoActivityIndicator(color: AppColor.colorLoading)));
|
||||
default:
|
||||
return ResponsiveWidget(
|
||||
responsiveUtils: controller.responsiveUtils,
|
||||
desktop: bodyView,
|
||||
tabletLarge: bodyView,
|
||||
landscapeTablet: bodyView,
|
||||
mobile: _buildScaffoldHaveDrawer(body: ThreadView()));
|
||||
}
|
||||
}),
|
||||
),
|
||||
|
||||
@@ -443,7 +443,7 @@ class MailboxDashBoardView extends BaseMailboxDashBoardView {
|
||||
if (controller.isRefreshingAllMailboxAndEmail) {
|
||||
return TMailContainerWidget(
|
||||
borderRadius: 10,
|
||||
backgroundColor: AppColor.colorFilterMessageButton.withOpacity(0.6),
|
||||
backgroundColor: AppColor.colorFilterMessageButton.withValues(alpha: 0.6),
|
||||
padding: const EdgeInsetsDirectional.symmetric(vertical: 8, horizontal: 8.5),
|
||||
child: const CupertinoLoadingWidget(size: 16));
|
||||
} else {
|
||||
@@ -452,7 +452,7 @@ class MailboxDashBoardView extends BaseMailboxDashBoardView {
|
||||
icon: controller.imagePaths.icRefresh,
|
||||
borderRadius: 10,
|
||||
iconSize: 16,
|
||||
backgroundColor: AppColor.colorFilterMessageButton.withOpacity(0.6),
|
||||
backgroundColor: AppColor.colorFilterMessageButton.withValues(alpha: 0.6),
|
||||
onTapActionCallback: controller.refreshMailboxAction,
|
||||
);
|
||||
}
|
||||
@@ -485,7 +485,7 @@ class MailboxDashBoardView extends BaseMailboxDashBoardView {
|
||||
),
|
||||
),
|
||||
style: ElevatedButton.styleFrom(
|
||||
backgroundColor: AppColor.colorFilterMessageButton.withOpacity(0.6),
|
||||
backgroundColor: AppColor.colorFilterMessageButton.withValues(alpha: 0.6),
|
||||
shadowColor: Colors.transparent,
|
||||
padding: const EdgeInsetsDirectional.symmetric(horizontal: 12, vertical: 8),
|
||||
shape: const RoundedRectangleBorder(
|
||||
@@ -530,7 +530,7 @@ class MailboxDashBoardView extends BaseMailboxDashBoardView {
|
||||
icon: controller.imagePaths.icRecoverDeletedMessages,
|
||||
borderRadius: 10,
|
||||
iconSize: 16,
|
||||
backgroundColor: AppColor.colorFilterMessageButton.withOpacity(0.6),
|
||||
backgroundColor: AppColor.colorFilterMessageButton.withValues(alpha: 0.6),
|
||||
margin: const EdgeInsetsDirectional.only(start: 16),
|
||||
onTapActionCallback: () => controller.gotoEmailRecovery(),
|
||||
);
|
||||
|
||||
@@ -86,7 +86,7 @@ enum QuickSearchFilter {
|
||||
|
||||
Color getBackgroundColor({bool isSelected = false}) {
|
||||
if (isSelected) {
|
||||
return AppColor.primaryColor.withOpacity(0.06);
|
||||
return AppColor.primaryColor.withValues(alpha: 0.06);
|
||||
} else {
|
||||
return AppColor.colorSearchFilterButton;
|
||||
}
|
||||
@@ -94,17 +94,17 @@ enum QuickSearchFilter {
|
||||
|
||||
Color getMobileBackgroundColor({bool isSelected = false}) {
|
||||
if (isSelected) {
|
||||
return AppColor.primaryColor.withOpacity(0.06);
|
||||
return AppColor.primaryColor.withValues(alpha: 0.06);
|
||||
} else {
|
||||
return AppColor.colorMobileSearchFilterButton.withOpacity(0.6);
|
||||
return AppColor.colorMobileSearchFilterButton.withValues(alpha: 0.6);
|
||||
}
|
||||
}
|
||||
|
||||
Color getSuggestionBackgroundColor({bool isSelected = false}) {
|
||||
if (isSelected) {
|
||||
return AppColor.primaryColor.withOpacity(0.06);
|
||||
return AppColor.primaryColor.withValues(alpha: 0.06);
|
||||
} else {
|
||||
return AppColor.colorSuggestionSearchFilterButton.withOpacity(0.6);
|
||||
return AppColor.colorSuggestionSearchFilterButton.withValues(alpha: 0.6);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ class AppGridDashboardStyle {
|
||||
static const EdgeInsetsGeometry padding = EdgeInsetsDirectional.symmetric(horizontal: 10, vertical: 14);
|
||||
static final List<BoxShadow> cardShadow = [
|
||||
BoxShadow(
|
||||
color: Colors.black.withOpacity(0.15),
|
||||
color: Colors.black.withValues(alpha: 0.15),
|
||||
blurRadius: 20,
|
||||
offset: Offset.zero
|
||||
),
|
||||
|
||||
@@ -7,7 +7,7 @@ class AutocompleteTagItemStyle {
|
||||
static const double space = 4;
|
||||
static const double deleteIconSize = 24;
|
||||
|
||||
static Color get backgroundColor => AppColor.colorBackgroundTagFilter.withOpacity(0.08);
|
||||
static Color get backgroundColor => AppColor.colorBackgroundTagFilter.withValues(alpha: 0.08);
|
||||
|
||||
static const EdgeInsetsGeometry margin = EdgeInsetsDirectional.only(end: 8);
|
||||
static const EdgeInsetsGeometry padding = EdgeInsetsDirectional.only(start: 8, end: 4, top: 4, bottom: 4);
|
||||
|
||||
+2
-2
@@ -32,8 +32,8 @@ class AdvancedSearchFilterOverlay extends StatelessWidget {
|
||||
offset: Offset.zero),
|
||||
]
|
||||
),
|
||||
child: SingleChildScrollView(
|
||||
padding: const EdgeInsets.symmetric(vertical: 24, horizontal: 32),
|
||||
child: const SingleChildScrollView(
|
||||
padding: EdgeInsets.symmetric(vertical: 24, horizontal: 32),
|
||||
child: AdvancedSearchInputForm(),
|
||||
),
|
||||
),
|
||||
|
||||
+3
-3
@@ -42,12 +42,12 @@ class ProfileSettingMenuOverlay extends StatelessWidget {
|
||||
borderRadius: const BorderRadius.all(Radius.circular(14)),
|
||||
boxShadow: [
|
||||
BoxShadow(
|
||||
color: Colors.black.withOpacity(0.3),
|
||||
color: Colors.black.withValues(alpha: 0.3),
|
||||
blurRadius: 2,
|
||||
spreadRadius: 0,
|
||||
),
|
||||
BoxShadow(
|
||||
color: Colors.black.withOpacity(0.15),
|
||||
color: Colors.black.withValues(alpha: 0.15),
|
||||
blurRadius: 6,
|
||||
spreadRadius: 2,
|
||||
offset: const Offset(0, 2),
|
||||
@@ -67,7 +67,7 @@ class ProfileSettingMenuOverlay extends StatelessWidget {
|
||||
),
|
||||
const SizedBox(height: 4),
|
||||
Divider(
|
||||
color: AppColor.profileMenuDivider.withOpacity(0.12),
|
||||
color: AppColor.profileMenuDivider.withValues(alpha: 0.12),
|
||||
height: 1,
|
||||
),
|
||||
...settingActionTypes
|
||||
|
||||
Reference in New Issue
Block a user