mirror of
https://github.com/DefinedNet/mobile_nebula.git
synced 2025-09-07 19:46:06 +00:00
Replace deprecated withOpacity
https://stackoverflow.com/a/79285052/1435658
This commit is contained in:
parent
05cdaaf572
commit
36c212b2a0
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ class ScannerOverlay extends CustomPainter {
|
|||
);
|
||||
|
||||
final backgroundPaint = Paint()
|
||||
..color = Colors.black.withOpacity(0.5)
|
||||
..color = Colors.black.withValues(alpha: 0.5)
|
||||
..style = PaintingStyle.fill
|
||||
..blendMode = BlendMode.srcOver;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue