Skip to content

Commit

Permalink
Add: Offset adjustment with HitTest correction
Browse files Browse the repository at this point in the history
  • Loading branch information
Afroz-Shaikh committed May 22, 2024
1 parent adb6215 commit 1b35c93
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ class _RadialGaugeExampleState extends State<RadialGaugeExample> {
),
shapePointer: [
RadialShapePointer(
// offset: -30,
color: Colors.red,
width: 40,
height: 40,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ class RenderRadialShapePointer extends RenderBox {
width: pointerWidth,
height: pointerLength,
);
//!Handle the interaction of POinterREct

// canvas.drawRect(pointerRect, Paint()..color = Colors.green);

if (_shape == PointerShape.circle) {
Expand Down

0 comments on commit 1b35c93

Please sign in to comment.