From 5496bd905bd25ec100477454328753b61672eb58 Mon Sep 17 00:00:00 2001 From: Gold87 <91761103+Gold872@users.noreply.github.com> Date: Mon, 16 Dec 2024 15:08:11 -0500 Subject: [PATCH] Added end radius to radial gauge pointers --- lib/widgets/nt_widgets/multi-topic/gyro.dart | 1 + lib/widgets/nt_widgets/single_topic/radial_gauge.dart | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/widgets/nt_widgets/multi-topic/gyro.dart b/lib/widgets/nt_widgets/multi-topic/gyro.dart index 5bec6ef2..4314b68d 100644 --- a/lib/widgets/nt_widgets/multi-topic/gyro.dart +++ b/lib/widgets/nt_widgets/multi-topic/gyro.dart @@ -146,6 +146,7 @@ class Gyro extends NTWidget { needlePointer: [ NeedlePointer( needleWidth: squareSide * 0.03, + needleEndWidth: squareSide * 0.005, needleHeight: maxNeedleHeight * 0.52 - (squareSide - 175.875) * 0.075, tailColor: Colors.grey, diff --git a/lib/widgets/nt_widgets/single_topic/radial_gauge.dart b/lib/widgets/nt_widgets/single_topic/radial_gauge.dart index 0abe0543..5b705c3b 100644 --- a/lib/widgets/nt_widgets/single_topic/radial_gauge.dart +++ b/lib/widgets/nt_widgets/single_topic/radial_gauge.dart @@ -355,6 +355,7 @@ class RadialGaugeWidget extends NTWidget { if (model.showPointer) NeedlePointer( needleWidth: squareSide * 0.02, + needleEndWidth: squareSide * 0.004, needleHeight: squareSide * 0.25, tailColor: Colors.grey, tailRadius: squareSide * 0.055,