gonuit/gauge_indicator

Pointer's shadow offset is not used in the drawPointer method.

Opened this issue · 0 comments

You should translate the path before drawing the pointer.shadow here:

    if (pointer.shadow != null) {
      canvas.drawPath(path, pointer.shadow!.toPaint());
    }

Please, use pointer.shadow!.offset for this purpose.