GeekyAnts / GaugesFlutter

A gauge package for Flutter that displays progress and can be customized for appearance and behavior.
https://pub.dev/packages/geekyants_flutter_gauges
MIT License
67 stars 15 forks source link

Fix : HitTest Area fix for Plain Needle #270

Closed Afroz-Shaikh closed 3 months ago

Afroz-Shaikh commented 3 months ago

Description

As pointed out in https://github.com/GeekyAnts/GaugesFlutter/issues/243 Hit test area for plainNeedle was using the gaugeNeedle path for hittest, see image below (Red is the needle and green was the hit test area) image

This PR corrects the hittest area, by mapping out separate path instead of the gaugeNeedle path for SimpleNeedle image