TF-3586: Upgrade Flutter to 3.27.4
This commit is contained in:
+3
-1
@@ -70,7 +70,9 @@ class LanguageAndRegionController extends BaseController {
|
||||
if (accountId == null ||
|
||||
session == null ||
|
||||
!capabilityServerSettings.isSupported(session, accountId) ||
|
||||
session.isLanguageReadOnly(accountId)) return;
|
||||
session.isLanguageReadOnly(accountId)) {
|
||||
return;
|
||||
}
|
||||
|
||||
consumeState(saveLanguageToServerSettingsInteractor.execute(
|
||||
accountId,
|
||||
|
||||
+1
-1
@@ -38,7 +38,7 @@ class LanguageAndRegionView extends GetWidget<LanguageAndRegionController> {
|
||||
SettingHeaderWidget(
|
||||
menuItem: AccountMenuItem.languageAndRegion,
|
||||
textStyle: ThemeUtils.textStyleInter600().copyWith(
|
||||
color: Colors.black.withOpacity(0.9),
|
||||
color: Colors.black.withValues(alpha: 0.9),
|
||||
),
|
||||
padding: EdgeInsets.zero,
|
||||
)
|
||||
|
||||
+2
-2
@@ -75,7 +75,7 @@ class _ChangeLanguageButtonWidgetState extends State<ChangeLanguageButtonWidget>
|
||||
fontSize: 14,
|
||||
height: 21.01 / 14,
|
||||
letterSpacing: -0.15,
|
||||
color: AppColor.gray424244.withOpacity(0.64),
|
||||
color: AppColor.gray424244.withValues(alpha: 0.64),
|
||||
),
|
||||
);
|
||||
}
|
||||
@@ -120,7 +120,7 @@ class _ChangeLanguageButtonWidgetState extends State<ChangeLanguageButtonWidget>
|
||||
.getLanguageNameByCurrentLocale(AppLocalizations.of(context)),
|
||||
dropDownIcon: _imagePaths.icDropDown,
|
||||
backgroundColor: isVisible
|
||||
? AppColor.lightGrayEBEDF0.withOpacity(0.6)
|
||||
? AppColor.lightGrayEBEDF0.withValues(alpha: 0.6)
|
||||
: null,
|
||||
onTap: () => _toggleLanguageMenuOverlay(true),
|
||||
)
|
||||
|
||||
+2
-2
@@ -34,12 +34,12 @@ class LanguageRegionOverlay extends StatelessWidget {
|
||||
borderRadius: const BorderRadius.all(Radius.circular(16)),
|
||||
boxShadow: [
|
||||
BoxShadow(
|
||||
color: Colors.black.withOpacity(0.3),
|
||||
color: Colors.black.withValues(alpha: 0.3),
|
||||
blurRadius: 2,
|
||||
offset: const Offset(0, 1),
|
||||
),
|
||||
BoxShadow(
|
||||
color: Colors.black.withOpacity(0.15),
|
||||
color: Colors.black.withValues(alpha: 0.15),
|
||||
blurRadius: 6,
|
||||
spreadRadius: 2,
|
||||
offset: const Offset(0, 2),
|
||||
|
||||
+2
-2
@@ -30,7 +30,7 @@ class LanguageItemWidget extends StatelessWidget {
|
||||
child: InkWell(
|
||||
onTap: () => onSelectLanguageAction.call(localeCurrent),
|
||||
borderRadius: const BorderRadius.all(Radius.circular(8)),
|
||||
hoverColor: AppColor.lightGrayEBEDF0.withOpacity(0.6),
|
||||
hoverColor: AppColor.lightGrayEBEDF0.withValues(alpha: 0.6),
|
||||
child: Container(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 17),
|
||||
height: 51,
|
||||
@@ -41,7 +41,7 @@ class LanguageItemWidget extends StatelessWidget {
|
||||
letterSpacing: -0.15,
|
||||
fontSize: 16,
|
||||
height: 21.01 / 16,
|
||||
color: AppColor.gray424244.withOpacity(0.9),
|
||||
color: AppColor.gray424244.withValues(alpha: 0.9),
|
||||
),
|
||||
maxLines: 1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
|
||||
Reference in New Issue
Block a user