fix deprecations
This commit is contained in:
@@ -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),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user