SunburstArcRendererConfig<D> constructor
SunburstArcRendererConfig<D> ({
- String? customRendererId,
- double arcLength = 2 * pi,
- List<
ArcRendererDecorator< arcRendererDecorators = const [],D> > - double? arcRatio,
- List<
int> ? arcRatios, - int? arcWidth,
- List<
int> ? arcWidths, - SunburstColorStrategy colorAssignmentStrategy = SunburstColorStrategy.newShadePerLevel,
- int layoutPaintOrder = LayoutViewPaintOrder.arc,
- int? maxDisplayLevel,
- int? initialDisplayLevel,
- int minHoleWidthForCenterContent = 30,
- double startAngle = -pi / 2,
- 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;