createRenderObject method
Creates an instance of the RenderObject class that this RenderObjectWidget represents, using the configuration described by this RenderObjectWidget.
This method should not do anything with the children of the render object. That should instead be handled by the method that overrides RenderObjectElement.mount in the object rendered by this object's createElement method. See, for example, SingleChildRenderObjectElement.mount.
Implementation
@override
HistogramSeriesRenderer<T, D> createRenderObject(BuildContext context) {
final HistogramSeriesRenderer<T, D> renderer =
super.createRenderObject(context) as HistogramSeriesRenderer<T, D>;
renderer
..binInterval = binInterval
..showNormalDistributionCurve = showNormalDistributionCurve
..curveColor = curveColor
..curveDashArray = curveDashArray
..trackColor = trackColor
..trackBorderColor = trackBorderColor
..trackBorderWidth = trackBorderWidth
..trackPadding = trackPadding
..width = width
..spacing = spacing
..width = width
..borderRadius = borderRadius
..isTrackVisible = isTrackVisible
..borderColor = borderColor;
return renderer;
}