SunburstArcRendererConfig<D> constructor

SunburstArcRendererConfig<D>({
  1. String? customRendererId,
  2. double arcLength = 2 * pi,
  3. List<ArcRendererDecorator<D>> arcRendererDecorators = const [],
  4. double? arcRatio,
  5. List<int>? arcRatios,
  6. int? arcWidth,
  7. List<int>? arcWidths,
  8. SunburstColorStrategy colorAssignmentStrategy = SunburstColorStrategy.newShadePerLevel,
  9. int layoutPaintOrder = LayoutViewPaintOrder.arc,
  10. int? maxDisplayLevel,
  11. int? initialDisplayLevel,
  12. int minHoleWidthForCenterContent = 30,
  13. double startAngle = -pi / 2,
  14. double strokeWidthPx = 2.0,
})

Implementation

SunburstArcRendererConfig({
  super.customRendererId,
  super.arcLength,
  super.arcRendererDecorators,
  super.arcRatio,
  this.arcRatios,
  super.arcWidth,
  this.arcWidths,
  this.colorAssignmentStrategy = SunburstColorStrategy.newShadePerLevel,
  super.layoutPaintOrder,
  int? maxDisplayLevel,
  int? initialDisplayLevel,
  super.minHoleWidthForCenterContent,
  super.startAngle,
  super.strokeWidthPx,
})  : maxDisplayLevel = maxDisplayLevel ?? _maxInt32Value,
      initialDisplayLevel =
          initialDisplayLevel ?? maxDisplayLevel ?? _maxInt32Value;