ValueLinearConfiguration.fromConfig constructor

ValueLinearConfiguration.fromConfig(
  1. double? strokeWidth,
  2. Color? backgroundColor
)

Implementation

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