fixed deprecated warnings

This commit is contained in:
Marton Kiss
2025-01-31 10:24:37 +01:00
parent 67649cc5fd
commit b5ee1afe05
102 changed files with 755 additions and 557 deletions

View File

@@ -98,7 +98,7 @@ class PersonalityBodyState extends State<PersonalityBody> {
),
style: ButtonStyle(
backgroundColor: WidgetStateProperty.all(
Colors.white.withOpacity(0.2)),
Colors.white.withValues(alpha: 0.2)),
),
),
const SizedBox(
@@ -115,7 +115,7 @@ class PersonalityBodyState extends State<PersonalityBody> {
),
style: ButtonStyle(
backgroundColor: WidgetStateProperty.all(
Colors.white.withOpacity(0.2)),
Colors.white.withValues(alpha: 0.2)),
),
),
],