Skip to content

Commit

Permalink
fix: nullable value
Browse files Browse the repository at this point in the history
  • Loading branch information
talisk committed Sep 8, 2023
1 parent a321a86 commit 0f6d963
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ class _ColorSuckerState extends State<ColorSucker> {
left: _magnifierPosition.dx,
top: _magnifierPosition.dy,
child: ClipRRect(
borderRadius: _radius,
borderRadius: _radius!,
child: GestureDetector(
onPanStart: _onPanStart,
onPanEnd: _onPanEnd,
Expand All @@ -215,7 +215,7 @@ class _ColorSuckerState extends State<ColorSucker> {
height: _magnifierSize.height,
width: _magnifierSize.width,
decoration: BoxDecoration(
borderRadius: _radius,
borderRadius: _radius!,
border: Border.all(color: Colors.grey, width: 3)),
),
),
Expand Down

0 comments on commit 0f6d963

Please sign in to comment.