diff --git a/lib/src/double_bounce.dart b/lib/src/double_bounce.dart index 26ccc33..76aee36 100644 --- a/lib/src/double_bounce.dart +++ b/lib/src/double_bounce.dart @@ -74,7 +74,7 @@ class _SpinKitDoubleBounceState extends State with SingleTi : DecoratedBox( decoration: BoxDecoration( shape: BoxShape.circle, - color: widget.color!.withValues(alpha: 0.6), + color: widget.color!.withOpacity(0.6), ), ); }