fix(web): withOpacity à la place de withValues (Flutter 3.19 / dart2js)

Made-with: Cursor
This commit is contained in:
2026-04-12 21:11:06 +02:00
parent 518b3f84df
commit 4dedd9b87a
3 changed files with 7 additions and 7 deletions
@@ -309,7 +309,7 @@ class _ValidationFamilyWizardState extends State<ValidationFamilyWizard> {
static List<BoxShadow> _enfantCardShadows() => [
BoxShadow(
color: Colors.black.withValues(alpha: 0.06),
color: Colors.black.withOpacity(0.06),
blurRadius: 14,
offset: const Offset(0, 4),
),
@@ -514,10 +514,10 @@ class _ValidationFamilyWizardState extends State<ValidationFamilyWizard> {
height: height,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(photoRadius),
border: Border.all(color: Colors.black.withValues(alpha: 0.08)),
border: Border.all(color: Colors.black.withOpacity(0.08)),
boxShadow: [
BoxShadow(
color: Colors.black.withValues(alpha: 0.05),
color: Colors.black.withOpacity(0.05),
blurRadius: 6,
offset: const Offset(0, 2),
),