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
@@ -39,24 +39,24 @@ enum SendingEmailActionType {
Color getButtonIconColor(ButtonState buttonState) {
switch(this) {
case SendingEmailActionType.delete:
return AppColor.colorDeletePermanentlyButton.withOpacity(buttonState.opacity);
return AppColor.colorDeletePermanentlyButton.withValues(alpha: buttonState.opacity);
case SendingEmailActionType.edit:
case SendingEmailActionType.resend:
return AppColor.primaryColor.withOpacity(buttonState.opacity);
return AppColor.primaryColor.withValues(alpha: buttonState.opacity);
case SendingEmailActionType.create:
return Colors.transparent.withOpacity(buttonState.opacity);
return Colors.transparent.withValues(alpha: buttonState.opacity);
}
}
Color getButtonTitleColor(ButtonState buttonState) {
switch(this) {
case SendingEmailActionType.delete:
return AppColor.colorDeletePermanentlyButton.withOpacity(buttonState.opacity);
return AppColor.colorDeletePermanentlyButton.withValues(alpha: buttonState.opacity);
case SendingEmailActionType.edit:
case SendingEmailActionType.resend:
return AppColor.primaryColor.withOpacity(buttonState.opacity);
return AppColor.primaryColor.withValues(alpha: buttonState.opacity);
case SendingEmailActionType.create:
return Colors.transparent.withOpacity(buttonState.opacity);
return Colors.transparent.withValues(alpha: buttonState.opacity);
}
}
}