fix: analyzer

This commit is contained in:
Alex
2024-12-13 17:41:15 +03:00
parent 7715da6b8e
commit a58fbf1ee4
22 changed files with 65 additions and 64 deletions

View File

@@ -811,7 +811,7 @@ class _ProfileScreenState extends State<ProfileScreen> {
child: Text(
text,
style: TextStyle(
color: Colors.black.withOpacity(0.4),
color: Colors.black.withValues(alpha: 0.4),
height: 1,
),
),
@@ -1044,7 +1044,7 @@ class _ProfileScreenState extends State<ProfileScreen> {
padding: EdgeInsets.all(8),
width: (MediaQuery.of(context).size.width - 40) / 2,
decoration: BoxDecoration(
color: appTheme.blueA400.withOpacity(0.1),
color: appTheme.blueA400.withValues(alpha: 0.1),
borderRadius: BorderRadius.circular(16),
),
child: Text(
@@ -1150,7 +1150,7 @@ class _ProfileScreenState extends State<ProfileScreen> {
_choiceIntervalChipWidget(int index) {
return ChoiceChip(
selectedColor: Colors.grey.withOpacity(0.1),
selectedColor: Colors.grey.withValues(alpha: 0.1),
pressElevation: 0,
showCheckmark: false,
side: BorderSide.none,