findPolarCoord method

PolarLayout findPolarCoord([
  1. int polarIndex = 0
])

Implementation

PolarLayout findPolarCoord([int polarIndex = 0]) {
  if (polarIndex > config.polarList.length) {
    polarIndex = 0;
  }
  if (config.polarList.isEmpty) {
    throw FlutterError('暂无Polar坐标系');
  }
  return _findCoordInner(config.polarList[polarIndex]) as PolarLayout;
}