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

[BUG] : Needle Pointer Size does'nt adjust automatically to radius of the gauge #275

Open Afroz-Shaikh opened 3 months ago

Afroz-Shaikh commented 3 months ago

Describe the bug Needle Pointer Size does'nt adjust automatically to radius of the gauge image image

Steps to Reproduce:

RadialGauge(
        radiusFactor: 0.4,
        track: RadialTrack(
          trackStyle: TrackStyle(
              labelStyle: TextStyle(color: Colors.white),
              primaryRulerColor: Colors.blueAccent,
              secondaryRulerColor: Colors.blueGrey),
          color: Colors.white,
          start: 0,
          end: 100,
           startAngle: 0,
           endAngle: 360,
        ),
        needlePointer: [NeedlePointer(value: 10)],
      ),

Environment: Version : 1.0.4

Additonal Information This issue occurs in Radial Gauge when radius < 1.0 for all the type of Needle Pointers The issue occurs consistently across different devices and browsers.