ValueCircleConfiguration.fromConfig constructor

ValueCircleConfiguration.fromConfig(
  1. double? valueStrokeWidth,
  2. Color? valueColor
)

Implementation

factory ValueCircleConfiguration.fromConfig(double? valueStrokeWidth, Color? valueColor) {
  return ValueCircleConfiguration()
    ..strokeWidth = valueStrokeWidth ?? ConfigurationData.valueStrokeWidth
    ..backgroundColor = valueColor ?? ConfigurationData.valueBackgroundColor;
}