Skip to content

Commit cc5efb0

Browse files
Copilotjogboms
andcommitted
Replace deprecated withOpacity with withValues in double_bounce.dart
Co-authored-by: jogboms <[email protected]>
1 parent 00ee26c commit cc5efb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/double_bounce.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class _SpinKitDoubleBounceState extends State<SpinKitDoubleBounce> with SingleTi
7474
: DecoratedBox(
7575
decoration: BoxDecoration(
7676
shape: BoxShape.circle,
77-
color: widget.color!.withOpacity(0.6),
77+
color: widget.color!.withValues(alpha: 0.6),
7878
),
7979
);
8080
}

0 commit comments

Comments
 (0)