TF-3586: Upgrade Flutter to 3.27.4

This commit is contained in:
DatDang
2025-03-25 15:53:01 +07:00
committed by Dat H. Pham
parent c7f5dc9e5e
commit 4fd0931c9e
109 changed files with 361 additions and 372 deletions
@@ -154,7 +154,7 @@ extension MailboxActionsExtension on MailboxActions {
case MailboxActions.delete:
return AppColor.redFF3347;
default:
return AppColor.gray424244.withOpacity(0.72);
return AppColor.gray424244.withValues(alpha: 0.72);
}
}
@@ -163,7 +163,7 @@ extension MailboxActionsExtension on MailboxActions {
case MailboxActions.delete:
return AppColor.redFF3347;
default:
return AppColor.gray424244.withOpacity(0.9);
return AppColor.gray424244.withValues(alpha: 0.9);
}
}
@@ -42,8 +42,6 @@ extension MailboxCategoriessExtension on MailboxCategories {
return categoriesExpandMode.personalFolders;
case MailboxCategories.teamMailboxes:
return categoriesExpandMode.teamMailboxes;
default:
return ExpandMode.COLLAPSE;
}
}
}
@@ -72,7 +72,7 @@ class _EmptyMailboxPopupDialogWidgetState extends State<EmptyMailboxPopupDialogW
color: AppColor.steelGrayA540,
),
backgroundColor: _visible
? Theme.of(context).colorScheme.outline.withOpacity(0.08)
? Theme.of(context).colorScheme.outline.withValues(alpha: 0.08)
: Colors.transparent,
padding: EmptyMailboxPopupDialogWidgetStyles.emptyButtonPadding,
onTapActionCallback: () => _setVisible(true),
@@ -147,7 +147,7 @@ class _LabelMailboxItemWidgetState extends State<LabelMailboxItemWidget> {
? const EdgeInsets.all(3)
: TrailingMailboxItemWidgetStyles.menuIconPadding,
backgroundColor: _morePopupMenuVisible
? Theme.of(context).colorScheme.outline.withOpacity(0.08)
? Theme.of(context).colorScheme.outline.withValues(alpha: 0.08)
: TrailingMailboxItemWidgetStyles.menuIconBackgroundColor,
onTapActionAtPositionCallback: (position) {
if (!_responsiveUtils.isScreenWithShortestSide(context)) {