TF-3586: Upgrade Flutter to 3.27.4
This commit is contained in:
@@ -6,6 +6,6 @@ class SpamReportBannerStyles {
|
||||
static const double padding = 12;
|
||||
static const double borderRadius = 12;
|
||||
static const double space = 8;
|
||||
static Color backgroundColor = AppColor.colorSpamReportBannerBackground.withOpacity(0.12);
|
||||
static Color backgroundColor = AppColor.colorSpamReportBannerBackground.withValues(alpha: 0.12);
|
||||
static const Color strokeBorderColor = AppColor.colorSpamReportBannerStrokeBorder;
|
||||
}
|
||||
+1
-1
@@ -4,7 +4,7 @@ import 'package:flutter/material.dart';
|
||||
|
||||
class SpamReportBannerWebStyles {
|
||||
static const double borderRadius = 12;
|
||||
static Color backgroundColor = AppColor.colorSpamReportBannerBackground.withOpacity(0.12);
|
||||
static Color backgroundColor = AppColor.colorSpamReportBannerBackground.withValues(alpha: 0.12);
|
||||
static const Color strokeBorderColor = AppColor.colorSpamReportBannerStrokeBorder;
|
||||
|
||||
static const EdgeInsetsGeometry bannerPadding = EdgeInsetsDirectional.symmetric(
|
||||
|
||||
@@ -424,7 +424,9 @@ class ThreadController extends BaseController with EmailActionController {
|
||||
final totalEmailsCount = currentMailbox.countTotalEmails;
|
||||
if (totalEmailsCount == 0
|
||||
|| mailboxDashBoardController.emailsInCurrentMailbox.isNotEmpty
|
||||
) return;
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
||||
dispatchState(Right(GetAllEmailLoading()));
|
||||
}
|
||||
|
||||
+1
-1
@@ -119,7 +119,7 @@ class _DesktopListEmailActionHoverWidgetState
|
||||
padding: _getPaddingIcon(),
|
||||
margin: _getMarginIcon(),
|
||||
backgroundColor: _popupMenuVisible
|
||||
? Theme.of(context).colorScheme.outline.withOpacity(0.08)
|
||||
? Theme.of(context).colorScheme.outline.withValues(alpha: 0.08)
|
||||
: Colors.transparent,
|
||||
tooltipMessage: AppLocalizations.of(context).more,
|
||||
onTapActionAtPositionCallback: (position) {
|
||||
|
||||
@@ -67,7 +67,7 @@ class _EmailTileBuilderState extends State<EmailTileBuilder> with BaseEmailItem
|
||||
EmailActionType.selection,
|
||||
widget.presentationEmail
|
||||
),
|
||||
hoverColor: Theme.of(context).colorScheme.outline.withOpacity(0.08),
|
||||
hoverColor: Theme.of(context).colorScheme.outline.withValues(alpha: 0.08),
|
||||
child: Container(
|
||||
padding: widget.padding ?? _getPaddingItem(context),
|
||||
decoration: _getDecorationItem(),
|
||||
@@ -203,7 +203,7 @@ class _EmailTileBuilderState extends State<EmailTileBuilder> with BaseEmailItem
|
||||
widget.presentationEmail
|
||||
),
|
||||
onHover: (value) => _hoverNotifier.value = value,
|
||||
hoverColor: Theme.of(context).colorScheme.outline.withOpacity(0.08),
|
||||
hoverColor: Theme.of(context).colorScheme.outline.withValues(alpha: 0.08),
|
||||
borderRadius: const BorderRadius.all(Radius.circular(14)),
|
||||
child: Container(
|
||||
padding: widget.padding ?? _getPaddingItem(context),
|
||||
|
||||
@@ -56,7 +56,7 @@ class EmptyEmailsWidget extends StatelessWidget {
|
||||
letterSpacing: -0.15,
|
||||
fontSize: 16,
|
||||
height: 21.01 / 16,
|
||||
color: AppColor.gray424244.withOpacity(0.64),
|
||||
color: AppColor.gray424244.withValues(alpha: 0.64),
|
||||
),
|
||||
textAlign: TextAlign.center,
|
||||
),
|
||||
|
||||
@@ -66,7 +66,7 @@ class _WebTabletBodyEmailItemWidgetState
|
||||
EmailActionType.preview,
|
||||
widget.presentationEmail,
|
||||
),
|
||||
hoverColor: Theme.of(context).colorScheme.outline.withOpacity(0.08),
|
||||
hoverColor: Theme.of(context).colorScheme.outline.withValues(alpha: 0.08),
|
||||
onHover: (value) {
|
||||
setState(() {
|
||||
_isHover = value;
|
||||
@@ -262,7 +262,7 @@ class _WebTabletBodyEmailItemWidgetState
|
||||
? Theme.of(context)
|
||||
.colorScheme
|
||||
.outline
|
||||
.withOpacity(0.08)
|
||||
.withValues(alpha: 0.08)
|
||||
: Colors.transparent,
|
||||
tooltipMessage: AppLocalizations.of(context).more,
|
||||
onTapActionAtPositionCallback: (position) {
|
||||
|
||||
Reference in New Issue
Block a user