Skip to content

SfRadialGauge CornerStyle.bothCurve not working #2399

@qeepcologne

Description

@qeepcologne

Bug description

trying SfRadialGauge with cornerStyle: CornerStyle.bothCurve
curve is not working

Steps to reproduce

see code and image result

  1. CornerStyle.startCurve (working)
  2. CornerStyle.endCurve (working)
  3. CornerStyle.bothCurve (no curve at all, expected like 1+2)

Code sample

ClipRect radialGauge({required double width, required double percent}) => ClipRect(
  child: Align(
    alignment: Alignment.topCenter,
    heightFactor: 0.5,
    child: SizedBox(
      width: width,
      height: width,
      child: SfRadialGauge(
        axes: <RadialAxis>[
          RadialAxis(
            startAngle: 180,
            endAngle: 0,
            showLabels: false,
            showTicks: false,
            useRangeColorForAxis: true,
            pointers: <GaugePointer>[
              RangePointer(
                color: red500,
                value: percent * 100,
                width: 0.2,
                sizeUnit: GaugeSizeUnit.factor,
                cornerStyle: CornerStyle.bothCurve,
              ),
            ],
          ),
        ],
      ),
    ),
  ),
);

Screenshots or Video

Image

On which target platforms have you observed this bug?

Android

Flutter Doctor output

[✓] Flutter (Channel stable, 3.32.7, on Ubuntu Questing Quokka (development branch) 6.15.6-061506-generic, locale
    en_DE.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 36.0.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2025.1.2)
[✓] Connected device (3 available)
[✓] Network resources

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew featuregaugesGauges componentuncertainUncertain feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions