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

Remove extra space for linear gauges #279

Open maldag opened 1 month ago

maldag commented 1 month ago

This might be related to https://github.com/GeekyAnts/GaugesFlutter/issues/277

Upon disabling the label via showLabel=false flag, no labels are printed on a vertical gauge. The space of the labels (where they would be printed) is still there.

I digged a bit in the code and it is calculating the offset to also allow pointers on the side but there is no way to disable pointers so the space would really be uneccessary.

Thus, it would be a good addition imho to add an option to disable pointers and to minimize the needed space afterwards