diff --git a/example/lib/camera_preview.dart b/example/lib/camera_preview.dart index d848cf3..034e7b9 100644 --- a/example/lib/camera_preview.dart +++ b/example/lib/camera_preview.dart @@ -25,7 +25,7 @@ class CameraPreview extends StatelessWidget { mainAxisSize: MainAxisSize.min, children: [ CircleAvatar( - backgroundColor: Colors.black.withOpacity(.5), + backgroundColor: Colors.black.withValues(alpha: .5), child: const Icon( Icons.bolt, color: Colors.white, diff --git a/pubspec.yaml b/pubspec.yaml index 96b4569..41f545a 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -11,7 +11,7 @@ environment: dependencies: flutter: sdk: flutter - rxdart: ^0.27.0 + rxdart: ^0.28.0 dev_dependencies: flutter_test: