updateRenderObject method
Copies the configuration described by this RenderObjectWidget to the given RenderObject, which will be of the same type as returned by this object's createRenderObject.
This method should not do anything to update the children of the render object. That should instead be handled by the method that overrides RenderObjectElement.update in the object rendered by this object's createElement method. See, for example, SingleChildRenderObjectElement.update.
Implementation
@override
void updateRenderObject(BuildContext context, RenderGaugeRange renderObject) {
final SfGaugeThemeData gaugeTheme = SfGaugeTheme.of(context)!;
final RadialAxisScope radialAxisScope = RadialAxisScope.of(context);
final RadialAxisInheritedWidget ancestor = context
.dependOnInheritedWidgetOfExactType<RadialAxisInheritedWidget>()!;
renderObject
..startValue = startValue.clamp(ancestor.minimum, ancestor.maximum)
..endValue = endValue.clamp(ancestor.minimum, ancestor.maximum)
..startWidth = startWidth
..endWidth = endWidth
..sizeUnit = sizeUnit
..color = color
..gradient = gradient
..rangeOffset = rangeOffset
..rangeAnimation = radialAxisScope.animation
..label = label
..labelStyle = labelStyle
..repaintNotifier = radialAxisScope.repaintNotifier
..gaugeThemeData = gaugeTheme;
super.updateRenderObject(context, renderObject);
}