Skip to content

Commit

Permalink
Fix withValues not yet available
Browse files Browse the repository at this point in the history
Fixes #60
  • Loading branch information
veloce committed Nov 19, 2024
1 parent d8d6073 commit e6080a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
target.
- Detects if the drag is triggered with a mouse or a touch event, and adjust the
drag settings accordingly to provide a better experience.
- Removed the `withValues` not yet available in specified dart sdk version.

## 6.0.0

Expand Down
2 changes: 1 addition & 1 deletion lib/src/widgets/board_annotation.dart
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class _BoardAnnotationState extends State<BoardAnnotation> {
shape: BoxShape.circle,
boxShadow: [
BoxShadow(
color: const Color(0xFF000000).withValues(alpha: 0.5),
color: const Color(0xFF000000).withOpacity(0.5),
blurRadius: 1,
offset: const Offset(1, 1),
),
Expand Down

0 comments on commit e6080a2

Please sign in to comment.