Skip to content

Commit 12ed3b3

Browse files
fix: update rxdart dependency version to ^0.28.0
style: change CircleAvatar background color to use withValues method
1 parent 0aa5989 commit 12ed3b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

example/lib/camera_preview.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class CameraPreview extends StatelessWidget {
2525
mainAxisSize: MainAxisSize.min,
2626
children: [
2727
CircleAvatar(
28-
backgroundColor: Colors.black.withOpacity(.5),
28+
backgroundColor: Colors.black.withValues(alpha: .5),
2929
child: const Icon(
3030
Icons.bolt,
3131
color: Colors.white,

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ environment:
1111
dependencies:
1212
flutter:
1313
sdk: flutter
14-
rxdart: ^0.27.0
14+
rxdart: ^0.28.0
1515

1616
dev_dependencies:
1717
flutter_test:

0 commit comments

Comments
 (0)