getPaints method

List<RingPaints>? getPaints(
  1. Offset center,
  2. double width
)

Get cached paints

Implementation

List<RingPaints>? getPaints(Offset center, double width) {
  if (center == _center || width == _width) {
    if (_paints != null) {
      return _paints;
    }
  }
  setPaints(center, width);

  return _paints;
}