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,
- SymbolRenderer? symbolRenderer,
Implementation
SunburstArcRendererConfig(
{String? customRendererId,
double arcLength = 2 * pi,
List<ArcRendererDecorator<D>> arcRendererDecorators = const [],
double? arcRatio,
this.arcRatios,
int? arcWidth,
this.arcWidths,
this.colorAssignmentStrategy = SunburstColorStrategy.newShadePerLevel,
int layoutPaintOrder = LayoutViewPaintOrder.arc,
int? maxDisplayLevel,
int? initialDisplayLevel,
int minHoleWidthForCenterContent = 30,
double startAngle = -pi / 2,
double strokeWidthPx = 2.0,
SymbolRenderer? symbolRenderer})
: this.maxDisplayLevel = maxDisplayLevel ?? _maxInt32Value,
this.initialDisplayLevel =
initialDisplayLevel ?? maxDisplayLevel ?? _maxInt32Value,
super(
customRendererId: customRendererId,
arcLength: arcLength,
arcRatio: arcRatio,
arcWidth: arcWidth,
layoutPaintOrder: layoutPaintOrder,
minHoleWidthForCenterContent: minHoleWidthForCenterContent,
startAngle: startAngle,
strokeWidthPx: strokeWidthPx,
arcRendererDecorators: arcRendererDecorators);