From 12ed3b3220ade6f52697171e0ef7103a48ea466b Mon Sep 17 00:00:00 2001 From: bekzatzamirbekov Date: Fri, 23 May 2025 16:25:56 +0600 Subject: [PATCH] fix: update rxdart dependency version to ^0.28.0 style: change CircleAvatar background color to use withValues method --- example/lib/camera_preview.dart | 2 +- pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: