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

@@ -109,7 +109,7 @@ class _AboutDietScreenState extends State<AboutDietScreen> {
color: Colors.white,
border: Border(
top: BorderSide(
color: Colors.black.withOpacity(0.1),
color: Colors.black.withValues(alpha: 0.1),
),
),
),

View File

@@ -55,8 +55,8 @@ class _ExpandableTextState extends State<ExpandableText> {
begin: Alignment.topCenter,
end: Alignment.bottomCenter,
colors: [
Colors.white.withOpacity(0.0),
Colors.white.withOpacity(0.6),
Colors.white.withValues(alpha: 0.0),
Colors.white.withValues(alpha: 0.6),
Colors.white,
],
),