fix deprecations

This commit is contained in:
2025-08-16 20:55:50 +00:00
parent 6ba97315a7
commit 0ab86ce143
3 changed files with 20 additions and 18 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ class _RenderCallbacksExampleState extends State<RenderCallbacksExample> {
width: 350,
height: 400,
decoration: BoxDecoration(
color: Colors.black.withOpacity(0.8),
color: Colors.black.withValues(alpha: 0.8),
borderRadius: BorderRadius.circular(8),
border: Border.all(color: Colors.grey),
),